#C842B0#C842B0
#C842B0 is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.5% C 0.207 H 335.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C842B0 |
|---|---|
| RGB | rgb(200, 66, 176) |
| HSL | hsl(311, 55%, 52%) |
| HSV | hsv(311, 67%, 78%) |
| CMYK | cmyk(0%, 67%, 12%, 21.6%) |
| CIE-LAB | lab(51.05, 64.54, -31.16) |
| CIE-LCH | lch(51.05, 71.67, 334.23°) |
| OKLab | oklab(60.52% 0.1886 -0.0848) |
| OKLCH | oklch(60.52% 0.207 335.8) |
| XYZ | xyz(33.6045, 19.3132, 43.0238) |
| Luminance | 0.1931 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.98
Pinky Purple
#C94CBE
ΔE00 2.97
Purplish Pink
#CE5DAE
ΔE00 6.15
Purpleish Pink
#DF4EC8
ΔE00 6.23
Pinkish Purple
#D648D7
ΔE00 6.70
Hot Magenta
#F504C9
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C842B0 #42C85A
analogous
#9D42C8 #C842B0 #C8426D
triadic
#C842B0 #B0C842 #42B0C8
tetradic
#C842B0 #C89D42 #42C85A #426DC8
square
#C842B0 #C89D42 #42C85A #426DC8
split-complementary
#C842B0 #6DC842 #42C89D
monochromatic
#6F2061 #9F2E8A #C842B0 #D671C4 #E4A1D8
Accessibility & contrast
On white
4.32
#C842B0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#C842B0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C842B0
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C842B0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C842B0 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#436DB3
Deuteranopia (green-blind)
#6F81AD
Tritanopia (blue-blind)
#D24B73
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #c842b0; /* rgb */ color: rgb(200, 66, 176); /* oklch */ color: oklch(60.5% 0.207 335.8);
Tailwind
colors: {
custom: {
50: '#dc81c8',
500: '#c842b0',
950: '#000000',
},
}SCSS
$custom: #c842b0; $custom-light: #dc81c8; $custom-dark: #000000;
JSON
{
"hex": "#c842b0",
"rgb": {
"r": 200,
"g": 66,
"b": 176
},
"hsl": {
"h": 310.746,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.60519,
"c": 0.20681,
"h": 335.8
},
"luminance": 0.1931
}Semantic roles & 50–950 ramp
primary
#C842B0
secondary
#96D0A0
accent
#DE644A
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#150B13
muted
#847C82