#C231A2#C231A2
#C231A2 is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.4% C 0.213 H 338.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #C231A2 |
|---|---|
| RGB | rgb(194, 49, 162) |
| HSL | hsl(313, 60%, 48%) |
| HSV | hsv(313, 75%, 76%) |
| CMYK | cmyk(0%, 74.7%, 16.5%, 23.9%) |
| CIE-LAB | lab(47.34, 66.93, -28.77) |
| CIE-LCH | lch(47.34, 72.85, 336.74°) |
| OKLab | oklab(57.43% 0.1986 -0.078) |
| OKLCH | oklch(57.43% 0.213 338.6) |
| XYZ | xyz(29.8687, 16.2775, 35.7442) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.45
Ugly Purple
#A442A0
ΔE00 5.52
Mediumvioletred
#C71585
ΔE00 6.05
Pinky Purple
#C94CBE
ΔE00 6.78
Medium Purple
#9E43A2
ΔE00 6.84
Barney
#AC1DB8
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C231A2 #31C251
analogous
#9931C2 #C231A2 #C2315A
triadic
#C231A2 #A2C231 #31A2C2
tetradic
#C231A2 #C29931 #31C251 #315AC2
square
#C231A2 #C29931 #31C251 #315AC2
split-complementary
#C231A2 #5AC231 #31C299
monochromatic
#601850 #912579 #C231A2 #D65BBA #E28CCF
Accessibility & contrast
On white
4.94
#C231A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#C231A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C231A2
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C231A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C231A2 | 1.00 | 4.94 | 4.26 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3962A5
Deuteranopia (green-blind)
#69789F
Tritanopia (blue-blind)
#CD3866
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c231a2; /* rgb */ color: rgb(194, 49, 162); /* oklch */ color: oklch(57.4% 0.213 338.6);
Tailwind
colors: {
custom: {
50: '#d878be',
500: '#c231a2',
950: '#000000',
},
}SCSS
$custom: #c231a2; $custom-light: #d878be; $custom-dark: #000000;
JSON
{
"hex": "#c231a2",
"rgb": {
"r": 194,
"g": 49,
"b": 162
},
"hsl": {
"h": 313.241,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.57429,
"c": 0.21333,
"h": 338.6
},
"luminance": 0.16275
}Semantic roles & 50–950 ramp
primary
#C231A2
secondary
#83CC93
accent
#E36845
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81