#C842AE#C842AE
#C842AE is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.4% C 0.205 H 336.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #C842AE |
|---|---|
| RGB | rgb(200, 66, 174) |
| HSL | hsl(312, 55%, 52%) |
| HSV | hsv(312, 67%, 78%) |
| CMYK | cmyk(0%, 67%, 13%, 21.6%) |
| CIE-LAB | lab(50.96, 64.24, -30.13) |
| CIE-LCH | lch(50.96, 70.95, 334.88°) |
| OKLab | oklab(60.42% 0.1884 -0.0819) |
| OKLCH | oklch(60.42% 0.205 336.5) |
| XYZ | xyz(33.4081, 19.2347, 41.9893) |
| Luminance | 0.1923 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.33
Pinky Purple
#C94CBE
ΔE00 3.27
Purplish Pink
#CE5DAE
ΔE00 6.05
Purpleish Pink
#DF4EC8
ΔE00 6.39
Pinkish Purple
#D648D7
ΔE00 7.02
Hot Magenta
#F504C9
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C842AE #42C85C
analogous
#9F42C8 #C842AE #C8426B
triadic
#C842AE #AEC842 #42AEC8
tetradic
#C842AE #C89F42 #42C85C #426BC8
square
#C842AE #C89F42 #42C85C #426BC8
split-complementary
#C842AE #6BC842 #42C89F
monochromatic
#6F2060 #9F2E89 #C842AE #D671C2 #E4A1D7
Accessibility & contrast
On white
4.33
#C842AE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#C842AE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C842AE
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C842AE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C842AE | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#446CB1
Deuteranopia (green-blind)
#7081AB
Tritanopia (blue-blind)
#D24A72
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #c842ae; /* rgb */ color: rgb(200, 66, 174); /* oklch */ color: oklch(60.4% 0.205 336.5);
Tailwind
colors: {
custom: {
50: '#dc80c6',
500: '#c842ae',
950: '#000000',
},
}SCSS
$custom: #c842ae; $custom-light: #dc80c6; $custom-dark: #000000;
JSON
{
"hex": "#c842ae",
"rgb": {
"r": 200,
"g": 66,
"b": 174
},
"hsl": {
"h": 311.642,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.60423,
"c": 0.2054,
"h": 336.5
},
"luminance": 0.19232
}Semantic roles & 50–950 ramp
primary
#C842AE
secondary
#96D0A1
accent
#DE664A
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#150B13
muted
#847C82