#CE42A2#CE42A2
#CE42A2 is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.8% C 0.201 H 342.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CE42A2 |
|---|---|
| RGB | rgb(206, 66, 162) |
| HSL | hsl(319, 59%, 53%) |
| HSV | hsv(319, 68%, 81%) |
| CMYK | cmyk(0%, 68%, 21.4%, 19.2%) |
| CIE-LAB | lab(51.42, 64.08, -22.29) |
| CIE-LCH | lch(51.42, 67.85, 340.82°) |
| OKLab | oklab(60.77% 0.1923 -0.0596) |
| OKLCH | oklch(60.77% 0.201 342.8) |
| XYZ | xyz(33.9245, 19.6302, 36.1778) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 5.26
Purplish Pink
#CE5DAE
ΔE00 5.29
Pinky Purple
#C94CBE
ΔE00 5.64
Purpleish Pink
#DF4EC8
ΔE00 7.22
Bright Pink
#FE01B1
ΔE00 7.41
Mediumvioletred
#C71585
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE42A2 #42CE6E
analogous
#B442CE #CE42A2 #CE425C
triadic
#CE42A2 #A2CE42 #42A2CE
tetradic
#CE42A2 #CEB442 #42CE6E #425CCE
square
#CE42A2 #CEB442 #42CE6E #425CCE
split-complementary
#CE42A2 #5CCE42 #42CEB4
monochromatic
#771F5B #A72B80 #CE42A2 #DB73BA #E7A3D2
Accessibility & contrast
On white
4.26
#CE42A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#CE42A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CE42A2
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE42A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE42A2 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F6CA5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#DB436C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #ce42a2; /* rgb */ color: rgb(206, 66, 162); /* oklch */ color: oklch(60.8% 0.201 342.8);
Tailwind
colors: {
custom: {
50: '#e181bd',
500: '#ce42a2',
950: '#000000',
},
}SCSS
$custom: #ce42a2; $custom-light: #e181bd; $custom-dark: #000000;
JSON
{
"hex": "#ce42a2",
"rgb": {
"r": 206,
"g": 66,
"b": 162
},
"hsl": {
"h": 318.857,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.60773,
"c": 0.20136,
"h": 342.8
},
"luminance": 0.19627
}Semantic roles & 50–950 ramp
primary
#CE42A2
secondary
#98D4AB
accent
#E27746
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81