#CE42B0#CE42B0
#CE42B0 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.4% C 0.211 H 337.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #CE42B0 |
|---|---|
| RGB | rgb(206, 66, 176) |
| HSL | hsl(313, 59%, 53%) |
| HSV | hsv(313, 68%, 81%) |
| CMYK | cmyk(0%, 68%, 14.6%, 19.2%) |
| CIE-LAB | lab(52.01, 66.04, -29.58) |
| CIE-LCH | lch(52.01, 72.36, 335.87°) |
| OKLab | oklab(61.4% 0.1946 -0.0802) |
| OKLCH | oklch(61.4% 0.211 337.6) |
| XYZ | xyz(35.2389, 20.1560, 43.1005) |
| Luminance | 0.2015 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.87
Pinky Purple
#C94CBE
ΔE00 3.08
Purplish Pink
#CE5DAE
ΔE00 5.32
Purpleish Pink
#DF4EC8
ΔE00 5.41
Hot Magenta
#F504C9
ΔE00 6.32
Pinkish Purple
#D648D7
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE42B0 #42CE60
analogous
#A642CE #CE42B0 #CE426A
triadic
#CE42B0 #B0CE42 #42B0CE
tetradic
#CE42B0 #CEA642 #42CE60 #426ACE
square
#CE42B0 #CEA642 #42CE60 #426ACE
split-complementary
#CE42B0 #6ACE42 #42CEA6
monochromatic
#771F64 #A72B8D #CE42B0 #DB73C4 #E7A3D9
Accessibility & contrast
On white
4.17
#CE42B0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#CE42B0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CE42B0
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE42B0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE42B0 | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476EB3
Deuteranopia (green-blind)
#7484AD
Tritanopia (blue-blind)
#D94973
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #ce42b0; /* rgb */ color: rgb(206, 66, 176); /* oklch */ color: oklch(61.4% 0.211 337.6);
Tailwind
colors: {
custom: {
50: '#e181c8',
500: '#ce42b0',
950: '#000000',
},
}SCSS
$custom: #ce42b0; $custom-light: #e181c8; $custom-dark: #000000;
JSON
{
"hex": "#ce42b0",
"rgb": {
"r": 206,
"g": 66,
"b": 176
},
"hsl": {
"h": 312.857,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.61403,
"c": 0.21052,
"h": 337.6
},
"luminance": 0.20153
}Semantic roles & 50–950 ramp
primary
#CE42B0
secondary
#98D4A5
accent
#E26746
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82