#C239A2#C239A2
#C239A2 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.1% C 0.204 H 338.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C239A2 |
|---|---|
| RGB | rgb(194, 57, 162) |
| HSL | hsl(314, 55%, 49%) |
| HSV | hsv(314, 71%, 76%) |
| CMYK | cmyk(0%, 70.6%, 16.5%, 23.9%) |
| CIE-LAB | lab(48.27, 64.29, -27.32) |
| CIE-LCH | lch(48.27, 69.85, 336.98°) |
| OKLab | oklab(58.1% 0.1906 -0.0739) |
| OKLCH | oklch(58.1% 0.204 338.8) |
| XYZ | xyz(30.2335, 17.0071, 35.8658) |
| Luminance | 0.1700 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.12
Ugly Purple
#A442A0
ΔE00 5.76
Pinky Purple
#C94CBE
ΔE00 6.06
Mediumvioletred
#C71585
ΔE00 6.38
Medium Purple
#9E43A2
ΔE00 7.12
Purplish Pink
#CE5DAE
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C239A2 #39C259
analogous
#9E39C2 #C239A2 #C2395D
triadic
#C239A2 #A2C239 #39A2C2
tetradic
#C239A2 #C29E39 #39C259 #395DC2
square
#C239A2 #C29E39 #39C259 #395DC2
split-complementary
#C239A2 #5DC239 #39C29E
monochromatic
#631D53 #932B7B #C239A2 #D266B9 #E095CF
Accessibility & contrast
On white
4.77
#C239A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#C239A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C239A2
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C239A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C239A2 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#6C7A9F
Tritanopia (blue-blind)
#CD3F69
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c239a2; /* rgb */ color: rgb(194, 57, 162); /* oklch */ color: oklch(58.1% 0.204 338.8);
Tailwind
colors: {
custom: {
50: '#d87bbe',
500: '#c239a2',
950: '#000000',
},
}SCSS
$custom: #c239a2; $custom-light: #d87bbe; $custom-dark: #000000;
JSON
{
"hex": "#c239a2",
"rgb": {
"r": 194,
"g": 57,
"b": 162
},
"hsl": {
"h": 314.015,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.58104,
"c": 0.20444,
"h": 338.8
},
"luminance": 0.17004
}Semantic roles & 50–950 ramp
primary
#C239A2
secondary
#8BCB9A
accent
#DE6C4A
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81