#C951AF#C951AF
#C951AF is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.2% C 0.186 H 336.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #C951AF |
|---|---|
| RGB | rgb(201, 81, 175) |
| HSL | hsl(313, 53%, 55%) |
| HSV | hsv(313, 60%, 79%) |
| CMYK | cmyk(0%, 59.7%, 12.9%, 21.2%) |
| CIE-LAB | lab(53.38, 58.52, -26.93) |
| CIE-LCH | lch(53.38, 64.42, 335.28°) |
| OKLab | oklab(62.24% 0.1714 -0.0729) |
| OKLCH | oklch(62.24% 0.186 336.9) |
| XYZ | xyz(34.7681, 21.4003, 42.8486) |
| Luminance | 0.2140 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.17
Purplish Pink
#CE5DAE
ΔE00 3.23
Purpley Pink
#C83CB9
ΔE00 4.52
Purpleish Pink
#DF4EC8
ΔE00 5.00
Pale Magenta
#D767AD
ΔE00 6.73
Pinkish Purple
#D648D7
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C951AF #51C96B
analogous
#A751C9 #C951AF #C95173
triadic
#C951AF #AFC951 #51AFC9
tetradic
#C951AF #C9A751 #51C96B #5173C9
square
#C951AF #C9A751 #51C96B #5173C9
split-complementary
#C951AF #73C951 #51C9A7
monochromatic
#7A2668 #A9348F #C951AF #D780C4 #E6AEDA
Accessibility & contrast
On white
3.98
#C951AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#C951AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C951AF
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C951AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C951AF | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#7886AC
Tritanopia (blue-blind)
#D35679
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #c951af; /* rgb */ color: rgb(201, 81, 175); /* oklch */ color: oklch(62.2% 0.186 336.9);
Tailwind
colors: {
custom: {
50: '#dc88c7',
500: '#c951af',
950: '#000000',
},
}SCSS
$custom: #c951af; $custom-light: #dc88c7; $custom-dark: #000000;
JSON
{
"hex": "#c951af",
"rgb": {
"r": 201,
"g": 81,
"b": 175
},
"hsl": {
"h": 313,
"s": 52.632,
"l": 55.294
},
"oklch": {
"l": 0.62239,
"c": 0.18623,
"h": 336.9
},
"luminance": 0.21398
}Semantic roles & 50–950 ramp
primary
#C951AF
secondary
#A2D4AD
accent
#DC6B4C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82