#C839A2#C839A2
#C839A2 is a mid, highly saturated pink. Relative luminance 0.178; OKLCH L 59.0% C 0.208 H 340.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C839A2 |
|---|---|
| RGB | rgb(200, 57, 162) |
| HSL | hsl(316, 57%, 50%) |
| HSV | hsv(316, 72%, 78%) |
| CMYK | cmyk(0%, 71.5%, 19%, 21.6%) |
| CIE-LAB | lab(49.27, 65.77, -25.68) |
| CIE-LCH | lch(49.27, 70.61, 338.67°) |
| OKLab | oklab(59.02% 0.1964 -0.0692) |
| OKLCH | oklch(59.02% 0.208 340.6) |
| XYZ | xyz(31.8050, 17.8174, 35.9395) |
| Luminance | 0.1781 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.25
Pinky Purple
#C94CBE
ΔE00 5.81
Mediumvioletred
#C71585
ΔE00 6.34
Ugly Purple
#A442A0
ΔE00 7.02
Purplish Pink
#CE5DAE
ΔE00 7.36
Medium Purple
#9E43A2
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C839A2 #39C85F
analogous
#A639C8 #C839A2 #C8395A
triadic
#C839A2 #A2C839 #39A2C8
tetradic
#C839A2 #C8A639 #39C85F #395AC8
square
#C839A2 #C8A639 #39C85F #395AC8
split-complementary
#C839A2 #5AC839 #39C8A6
monochromatic
#691D55 #992B7C #C839A2 #D569B8 #E399CF
Accessibility & contrast
On white
4.60
#C839A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#C839A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #C839A2
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C839A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C839A2 | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4466A5
Deuteranopia (green-blind)
#717D9F
Tritanopia (blue-blind)
#D43D69
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #c839a2; /* rgb */ color: rgb(200, 57, 162); /* oklch */ color: oklch(59.0% 0.208 340.6);
Tailwind
colors: {
custom: {
50: '#dd7cbd',
500: '#c839a2',
950: '#000000',
},
}SCSS
$custom: #c839a2; $custom-light: #dd7cbd; $custom-dark: #000000;
JSON
{
"hex": "#c839a2",
"rgb": {
"r": 200,
"g": 57,
"b": 162
},
"hsl": {
"h": 315.944,
"s": 56.522,
"l": 50.392
},
"oklch": {
"l": 0.59024,
"c": 0.20821,
"h": 340.6
},
"luminance": 0.17814
}Semantic roles & 50–950 ramp
primary
#C839A2
secondary
#8FCE9F
accent
#E07048
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160A12
muted
#847C81