#C231A7#C231A7
#C231A7 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.7% C 0.217 H 336.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #C231A7 |
|---|---|
| RGB | rgb(194, 49, 167) |
| HSL | hsl(311, 60%, 48%) |
| HSV | hsv(311, 75%, 76%) |
| CMYK | cmyk(0%, 74.7%, 13.9%, 23.9%) |
| CIE-LAB | lab(47.57, 67.63, -31.37) |
| CIE-LCH | lch(47.57, 74.56, 335.12°) |
| OKLab | oklab(57.67% 0.1991 -0.0854) |
| OKLCH | oklch(57.67% 0.217 336.8) |
| XYZ | xyz(30.3221, 16.4588, 38.1317) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.72
Ugly Purple
#A442A0
ΔE00 5.32
Pinky Purple
#C94CBE
ΔE00 6.23
Medium Purple
#9E43A2
ΔE00 6.56
Mediumvioletred
#C71585
ΔE00 6.93
Barney
#AC1DB8
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C231A7 #31C24C
analogous
#9431C2 #C231A7 #C2315F
triadic
#C231A7 #A7C231 #31A7C2
tetradic
#C231A7 #C29431 #31C24C #315FC2
square
#C231A7 #C29431 #31C24C #315FC2
split-complementary
#C231A7 #5FC231 #31C294
monochromatic
#601853 #91257D #C231A7 #D65BBF #E28CD2
Accessibility & contrast
On white
4.89
#C231A7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#C231A7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C231A7
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C231A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C231A7 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3563AA
Deuteranopia (green-blind)
#6779A4
Tritanopia (blue-blind)
#CC3B69
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #c231a7; /* rgb */ color: rgb(194, 49, 167); /* oklch */ color: oklch(57.7% 0.217 336.8);
Tailwind
colors: {
custom: {
50: '#d878c1',
500: '#c231a7',
950: '#000000',
},
}SCSS
$custom: #c231a7; $custom-light: #d878c1; $custom-dark: #000000;
JSON
{
"hex": "#c231a7",
"rgb": {
"r": 194,
"g": 49,
"b": 167
},
"hsl": {
"h": 311.172,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.57674,
"c": 0.21664,
"h": 336.8
},
"luminance": 0.16456
}Semantic roles & 50–950 ramp
primary
#C231A7
secondary
#83CC90
accent
#E36245
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81