CSS named colour
Pink
#ffc0cb
A CSS named colour: pink is valid anywhere a colour is expected.
- RGB
- rgb(255 192 203)
- HSL
- 350°, 100%, 88%
- OKLCh
- 86.8% 0.074 7.1
Pink in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #ffc0cb | |
|---|---|---|
| RGB | rgb(255 192 203) | |
| RGB legacy | rgb(255, 192, 203) | |
| RGB percent | rgb(100% 75.29% 79.61%) | |
| HSL | hsl(349.5 100% 87.6%) | |
| HSL legacy | hsl(349.5, 100%, 87.6%) | |
| HSV / HSB | hsv(349.5, 24.7%, 100%) | |
| HWB | hwb(349.5 75.3% 0%) | |
| Nearest name | pink | |
| CMYK | cmyk(0%, 24.7%, 20.4%, 0%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(86.774% 0.07354 7.085)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(86.774% 0.07298 0.00907) | |
| CIE LCh | lch(83.787% 24.724 8.746) | |
| CIE Lab | lab(83.787% 24.437 3.759) | |
| Display P3 | color(display-p3 0.9621 0.7629 0.7972) | |
| Rec. 2020 | color(rec2020 0.9099 0.7479 0.7727) | |
| srgb-linear | color(srgb-linear 1 0.5271 0.5972)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.7087 0.6327 0.6498) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(1.0, 0.753, 0.796)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(1.0, 0.527, 0.597)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(1.0, 0.753, 0.796, 1.0) | |
| GLSL vec4 — linear | vec4(1.0, 0.527, 0.597, 1.0) | |
| GLSL ivec3 | ivec3(255, 192, 203) | |
| HLSL float3 — sRGB | float3(1.0, 0.753, 0.796) | |
| HLSL float3 — linear | float3(1.0, 0.527, 0.597) | |
| HLSL float4 — sRGB | float4(1.0, 0.753, 0.796, 1.0) | |
| HLSL half4 — sRGB | half4(1.0, 0.753, 0.796, 1.0) | |
| WGSL vec3f — sRGB | vec3f(1.0, 0.753, 0.796) | |
| WGSL vec4f — sRGB | vec4f(1.0, 0.753, 0.796, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(1.0, 0.527, 0.597) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(1.0f, 0.753f, 0.796f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(255, 192, 203, 255) | |
| Unreal FLinearColor | FLinearColor(1.0f, 0.5271f, 0.5972f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(255, 192, 203, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(1, 0.753, 0.796, 1) | |
| Flutter Color | Color(0xFFFFC0CB)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(255, 192, 203) | |
| SwiftUI Color | Color(red: 1, green: 0.753, blue: 0.796) | |
| UIKit UIColor | UIColor(red: 1, green: 0.753, blue: 0.796, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xFFC0CB | |
|---|---|---|
| 0x hex (ARGB) | 0xFFFFC0CB | |
| Array 0–1 | [1, 0.753, 0.796] | |
| Array 0–255 | [255, 192, 203] | |
| Decimal integer | 16761035 |
Contrast and accessibility
WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Pink on white | 1.54:1 | Fail | Lc 25 | Not usable for text |
| Pink on black | 13.65:1 | AAA | Lc 78 | Body text, 18px and up |
Pink text on a white background
Pink text on a black background
White text on Pink
Black text on Pink
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#ffeef3
- 100#ffe0e8
- 200#ffccd5
- 300#edb4be
- 400#d197a1
- 500#b27983
- 600#96606a
- 700#7b4a54
- 800#643942
- 900#512a33
- 950#32141b
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#ffcbd4
- Tint 2#ffd5dc
- Tint 3#ffe0e5
- Tint 4#ffeaed
- Tint 5#fff5f6
- Shade 1#c8969f
- Shade 2#946e75
- Shade 3#63494d
- Shade 4#362629
- Shade 5#0f0809
Colours that work with Pink
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #9be4dc
- #c6dda9
- #add9ff
- #f4c2e5
- #ffc3b2
Closest CSS names
pinkexact matchlightpinkΔEok 0.024thistleΔEok 0.060lightgrayΔEok 0.074peachpuffΔEok 0.078gainsboroΔEok 0.078