#CE42A1#CE42A1
#CE42A1 is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.7% C 0.201 H 343.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CE42A1 |
|---|---|
| RGB | rgb(206, 66, 161) |
| HSL | hsl(319, 59%, 53%) |
| HSV | hsv(319, 68%, 81%) |
| CMYK | cmyk(0%, 68%, 21.8%, 19.2%) |
| CIE-LAB | lab(51.38, 63.95, -21.76) |
| CIE-LCH | lch(51.38, 67.55, 341.21°) |
| OKLab | oklab(60.73% 0.1921 -0.0582) |
| OKLCH | oklch(60.73% 0.201 343.2) |
| XYZ | xyz(33.8360, 19.5948, 35.7115) |
| Luminance | 0.1959 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.35
Purpley Pink
#C83CB9
ΔE00 5.46
Pinky Purple
#C94CBE
ΔE00 5.83
Purpleish Pink
#DF4EC8
ΔE00 7.37
Mediumvioletred
#C71585
ΔE00 7.40
Bright Pink
#FE01B1
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE42A1 #42CE6F
analogous
#B542CE #CE42A1 #CE425B
triadic
#CE42A1 #A1CE42 #42A1CE
tetradic
#CE42A1 #CEB542 #42CE6F #425BCE
square
#CE42A1 #CEB542 #42CE6F #425BCE
split-complementary
#CE42A1 #5BCE42 #42CEB5
monochromatic
#771F5B #A72B80 #CE42A1 #DB73B9 #E7A3D1
Accessibility & contrast
On white
4.27
#CE42A1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#CE42A1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CE42A1
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE42A1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE42A1 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F6CA4
Deuteranopia (green-blind)
#79839E
Tritanopia (blue-blind)
#DB426C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #ce42a1; /* rgb */ color: rgb(206, 66, 161); /* oklch */ color: oklch(60.7% 0.201 343.2);
Tailwind
colors: {
custom: {
50: '#e181bd',
500: '#ce42a1',
950: '#000000',
},
}SCSS
$custom: #ce42a1; $custom-light: #e181bd; $custom-dark: #000000;
JSON
{
"hex": "#ce42a1",
"rgb": {
"r": 206,
"g": 66,
"b": 161
},
"hsl": {
"h": 319.286,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.6073,
"c": 0.20074,
"h": 343.2
},
"luminance": 0.19591
}Semantic roles & 50–950 ramp
primary
#CE42A1
secondary
#98D4AB
accent
#E27846
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81