#C951A2#C951A2
#C951A2 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.177 H 342.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C951A2 |
|---|---|
| RGB | rgb(201, 81, 162) |
| HSL | hsl(320, 53%, 55%) |
| HSV | hsv(320, 60%, 79%) |
| CMYK | cmyk(0%, 59.7%, 19.4%, 21.2%) |
| CIE-LAB | lab(52.86, 56.58, -20.15) |
| CIE-LCH | lch(52.86, 60.06, 340.40°) |
| OKLab | oklab(61.68% 0.1688 -0.0538) |
| OKLCH | oklch(61.68% 0.177 342.3) |
| XYZ | xyz(33.5523, 20.9140, 36.4451) |
| Luminance | 0.2091 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.33
Pinky Purple
#C94CBE
ΔE00 5.80
Pale Magenta
#D767AD
ΔE00 6.09
Purpley Pink
#C83CB9
ΔE00 6.46
Purpleish Pink
#DF4EC8
ΔE00 6.98
Bright Pink
#FE01B1
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C951A2 #51C978
analogous
#B451C9 #C951A2 #C95166
triadic
#C951A2 #A2C951 #51A2C9
tetradic
#C951A2 #C9B451 #51C978 #5166C9
square
#C951A2 #C9B451 #51C978 #5166C9
split-complementary
#C951A2 #66C951 #51C9B4
monochromatic
#7A265E #A93483 #C951A2 #D780BB #E6AED4
Accessibility & contrast
On white
4.05
#C951A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#C951A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C951A2
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C951A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C951A2 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#D55272
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #c951a2; /* rgb */ color: rgb(201, 81, 162); /* oklch */ color: oklch(61.7% 0.177 342.3);
Tailwind
colors: {
custom: {
50: '#dc88bd',
500: '#c951a2',
950: '#000000',
},
}SCSS
$custom: #c951a2; $custom-light: #dc88bd; $custom-dark: #000000;
JSON
{
"hex": "#c951a2",
"rgb": {
"r": 201,
"g": 81,
"b": 162
},
"hsl": {
"h": 319.5,
"s": 52.632,
"l": 55.294
},
"oklch": {
"l": 0.61676,
"c": 0.17713,
"h": 342.3
},
"luminance": 0.20911
}Semantic roles & 50–950 ramp
primary
#C951A2
secondary
#A2D4B2
accent
#DC7B4C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81