#C751AB#C751AB
#C751AB is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.8% C 0.182 H 337.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C751AB |
|---|---|
| RGB | rgb(199, 81, 171) |
| HSL | hsl(314, 51%, 55%) |
| HSV | hsv(314, 59%, 78%) |
| CMYK | cmyk(0%, 59.3%, 14.1%, 22%) |
| CIE-LAB | lab(52.92, 57.35, -25.35) |
| CIE-LCH | lch(52.92, 62.70, 336.15°) |
| OKLab | oklab(61.78% 0.1685 -0.0685) |
| OKLCH | oklch(61.78% 0.182 337.9) |
| XYZ | xyz(33.8468, 20.9700, 40.7852) |
| Luminance | 0.2097 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.32
Pinky Purple
#C94CBE
ΔE00 3.78
Purpley Pink
#C83CB9
ΔE00 4.79
Purpleish Pink
#DF4EC8
ΔE00 5.72
Pale Magenta
#D767AD
ΔE00 6.76
Pinkish Purple
#D648D7
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C751AB #51C76D
analogous
#A851C7 #C751AB #C75170
triadic
#C751AB #ABC751 #51ABC7
tetradic
#C751AB #C7A851 #51C76D #5170C7
square
#C751AB #C7A851 #51C76D #5170C7
split-complementary
#C751AB #70C751 #51C7A8
monochromatic
#772664 #A6358B #C751AB #D67FC1 #E5AED8
Accessibility & contrast
On white
4.04
#C751AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#C751AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C751AB
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C751AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C751AB | 1.00 | 4.04 | 5.19 | 5.19 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5573AE
Deuteranopia (green-blind)
#7885A8
Tritanopia (blue-blind)
#D15577
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #c751ab; /* rgb */ color: rgb(199, 81, 171); /* oklch */ color: oklch(61.8% 0.182 337.9);
Tailwind
colors: {
custom: {
50: '#db88c4',
500: '#c751ab',
950: '#000000',
},
}SCSS
$custom: #c751ab; $custom-light: #db88c4; $custom-dark: #000000;
JSON
{
"hex": "#c751ab",
"rgb": {
"r": 199,
"g": 81,
"b": 171
},
"hsl": {
"h": 314.237,
"s": 51.304,
"l": 54.902
},
"oklch": {
"l": 0.6178,
"c": 0.1819,
"h": 337.9
},
"luminance": 0.20967
}Semantic roles & 50–950 ramp
primary
#C751AB
secondary
#A1D3AD
accent
#DB6F4D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81