#C842A3#C842A3
#C842A3 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.9% C 0.198 H 340.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C842A3 |
|---|---|
| RGB | rgb(200, 66, 163) |
| HSL | hsl(317, 55%, 52%) |
| HSV | hsv(317, 67%, 78%) |
| CMYK | cmyk(0%, 67%, 18.5%, 21.6%) |
| CIE-LAB | lab(50.48, 62.65, -24.40) |
| CIE-LCH | lch(50.48, 67.24, 338.72°) |
| OKLab | oklab(59.92% 0.1867 -0.0657) |
| OKLCH | oklch(59.92% 0.198 340.6) |
| XYZ | xyz(32.3793, 18.8232, 36.5712) |
| Luminance | 0.1882 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.39
Pinky Purple
#C94CBE
ΔE00 5.18
Purplish Pink
#CE5DAE
ΔE00 5.91
Mediumvioletred
#C71585
ΔE00 7.30
Purpleish Pink
#DF4EC8
ΔE00 7.59
Ugly Purple
#A442A0
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C842A3 #42C867
analogous
#AA42C8 #C842A3 #C84260
triadic
#C842A3 #A3C842 #42A3C8
tetradic
#C842A3 #C8AA42 #42C867 #4260C8
square
#C842A3 #C8AA42 #42C867 #4260C8
split-complementary
#C842A3 #60C842 #42C8AA
monochromatic
#6F2059 #9F2E80 #C842A3 #D671BA #E4A1D1
Accessibility & contrast
On white
4.41
#C842A3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#C842A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C842A3
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C842A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C842A3 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B6AA6
Deuteranopia (green-blind)
#7480A0
Tritanopia (blue-blind)
#D4456D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #c842a3; /* rgb */ color: rgb(200, 66, 163); /* oklch */ color: oklch(59.9% 0.198 340.6);
Tailwind
colors: {
custom: {
50: '#dc80be',
500: '#c842a3',
950: '#000000',
},
}SCSS
$custom: #c842a3; $custom-light: #dc80be; $custom-dark: #000000;
JSON
{
"hex": "#c842a3",
"rgb": {
"r": 200,
"g": 66,
"b": 163
},
"hsl": {
"h": 316.567,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.59915,
"c": 0.19789,
"h": 340.6
},
"luminance": 0.1882
}Semantic roles & 50–950 ramp
primary
#C842A3
secondary
#96D0A6
accent
#DE734A
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#150B12
muted
#847C81