#C239AB#C239AB
#C239AB is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.5% C 0.211 H 335.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #C239AB |
|---|---|
| RGB | rgb(194, 57, 171) |
| HSL | hsl(310, 55%, 49%) |
| HSV | hsv(310, 71%, 76%) |
| CMYK | cmyk(0%, 70.6%, 11.9%, 23.9%) |
| CIE-LAB | lab(48.68, 65.59, -31.99) |
| CIE-LCH | lch(48.68, 72.98, 334.00°) |
| OKLab | oklab(58.54% 0.1917 -0.0872) |
| OKLCH | oklch(58.54% 0.211 335.5) |
| XYZ | xyz(31.0623, 17.3386, 40.2309) |
| Luminance | 0.1734 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.62
Pinky Purple
#C94CBE
ΔE00 4.96
Ugly Purple
#A442A0
ΔE00 5.49
Medium Purple
#9E43A2
ΔE00 6.67
Barney
#AC1DB8
ΔE00 7.85
Mediumvioletred
#C71585
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C239AB #39C250
analogous
#9539C2 #C239AB #C23967
triadic
#C239AB #ABC239 #39ABC2
tetradic
#C239AB #C29539 #39C250 #3967C2
square
#C239AB #C29539 #39C250 #3967C2
split-complementary
#C239AB #67C239 #39C295
monochromatic
#631D58 #932B81 #C239AB #D266C0 #E095D3
Accessibility & contrast
On white
4.70
#C239AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#C239AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C239AB
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C239AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C239AB | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A67AE
Deuteranopia (green-blind)
#697BA8
Tritanopia (blue-blind)
#CC436E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #c239ab; /* rgb */ color: rgb(194, 57, 171); /* oklch */ color: oklch(58.5% 0.211 335.5);
Tailwind
colors: {
custom: {
50: '#d87bc4',
500: '#c239ab',
950: '#000000',
},
}SCSS
$custom: #c239ab; $custom-light: #d87bc4; $custom-dark: #000000;
JSON
{
"hex": "#c239ab",
"rgb": {
"r": 194,
"g": 57,
"b": 171
},
"hsl": {
"h": 310.073,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.58539,
"c": 0.21062,
"h": 335.5
},
"luminance": 0.17336
}Semantic roles & 50–950 ramp
primary
#C239AB
secondary
#8BCB96
accent
#DE634A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A12
muted
#837C81