#C231A9#C231A9
#C231A9 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.8% C 0.218 H 336.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #C231A9 |
|---|---|
| RGB | rgb(194, 49, 169) |
| HSL | hsl(310, 60%, 48%) |
| HSV | hsv(310, 75%, 76%) |
| CMYK | cmyk(0%, 74.7%, 12.9%, 23.9%) |
| CIE-LAB | lab(47.67, 67.92, -32.40) |
| CIE-LCH | lch(47.67, 75.25, 334.50°) |
| OKLab | oklab(57.77% 0.1993 -0.0884) |
| OKLCH | oklch(57.77% 0.218 336.1) |
| XYZ | xyz(30.5084, 16.5333, 39.1129) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.46
Ugly Purple
#A442A0
ΔE00 5.29
Pinky Purple
#C94CBE
ΔE00 6.04
Medium Purple
#9E43A2
ΔE00 6.48
Barney
#AC1DB8
ΔE00 7.19
Mediumvioletred
#C71585
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C231A9 #31C24A
analogous
#9331C2 #C231A9 #C23160
triadic
#C231A9 #A9C231 #31A9C2
tetradic
#C231A9 #C29331 #31C24A #3160C2
square
#C231A9 #C29331 #31C24A #3160C2
split-complementary
#C231A9 #60C231 #31C293
monochromatic
#601854 #91257E #C231A9 #D65BC0 #E28CD3
Accessibility & contrast
On white
4.88
#C231A9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#C231A9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C231A9
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C231A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C231A9 | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3363AC
Deuteranopia (green-blind)
#6679A6
Tritanopia (blue-blind)
#CC3C6A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #c231a9; /* rgb */ color: rgb(194, 49, 169); /* oklch */ color: oklch(57.8% 0.218 336.1);
Tailwind
colors: {
custom: {
50: '#d878c3',
500: '#c231a9',
950: '#000000',
},
}SCSS
$custom: #c231a9; $custom-light: #d878c3; $custom-dark: #000000;
JSON
{
"hex": "#c231a9",
"rgb": {
"r": 194,
"g": 49,
"b": 169
},
"hsl": {
"h": 310.345,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.57774,
"c": 0.21799,
"h": 336.1
},
"luminance": 0.16531
}Semantic roles & 50–950 ramp
primary
#C231A9
secondary
#83CC8F
accent
#E36045
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81