#CE42B3#CE42B3
#CE42B3 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.5% C 0.213 H 336.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #CE42B3 |
|---|---|
| RGB | rgb(206, 66, 179) |
| HSL | hsl(312, 59%, 53%) |
| HSV | hsv(312, 68%, 81%) |
| CMYK | cmyk(0%, 68%, 13.1%, 19.2%) |
| CIE-LAB | lab(52.15, 66.47, -31.13) |
| CIE-LCH | lch(52.15, 73.40, 334.91°) |
| OKLab | oklab(61.55% 0.195 -0.0846) |
| OKLCH | oklch(61.55% 0.213 336.5) |
| XYZ | xyz(35.5390, 20.2760, 44.6810) |
| Luminance | 0.2027 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.47
Pinky Purple
#C94CBE
ΔE00 2.60
Purpleish Pink
#DF4EC8
ΔE00 5.13
Purplish Pink
#CE5DAE
ΔE00 5.49
Pinkish Purple
#D648D7
ΔE00 6.03
Hot Magenta
#F504C9
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE42B3 #42CE5D
analogous
#A342CE #CE42B3 #CE426D
triadic
#CE42B3 #B3CE42 #42B3CE
tetradic
#CE42B3 #CEA342 #42CE5D #426DCE
square
#CE42B3 #CEA342 #42CE5D #426DCE
split-complementary
#CE42B3 #6DCE42 #42CEA3
monochromatic
#771F66 #A72B8F #CE42B3 #DB73C7 #E7A3DA
Accessibility & contrast
On white
4.15
#CE42B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#CE42B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CE42B3
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE42B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE42B3 | 1.00 | 4.15 | 5.05 | 5.05 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456FB6
Deuteranopia (green-blind)
#7384B0
Tritanopia (blue-blind)
#D84A75
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #ce42b3; /* rgb */ color: rgb(206, 66, 179); /* oklch */ color: oklch(61.5% 0.213 336.5);
Tailwind
colors: {
custom: {
50: '#e181ca',
500: '#ce42b3',
950: '#000000',
},
}SCSS
$custom: #ce42b3; $custom-light: #e181ca; $custom-dark: #000000;
JSON
{
"hex": "#ce42b3",
"rgb": {
"r": 206,
"g": 66,
"b": 179
},
"hsl": {
"h": 311.571,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.61545,
"c": 0.21259,
"h": 336.5
},
"luminance": 0.20273
}Semantic roles & 50–950 ramp
primary
#CE42B3
secondary
#98D4A3
accent
#E26446
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82