#C251AB#C251AB
#C251AB is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.178 H 336.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C251AB |
|---|---|
| RGB | rgb(194, 81, 171) |
| HSL | hsl(312, 48%, 54%) |
| HSV | hsv(312, 58%, 76%) |
| CMYK | cmyk(0%, 58.2%, 11.9%, 23.9%) |
| CIE-LAB | lab(52.17, 55.94, -26.56) |
| CIE-LCH | lch(52.17, 61.93, 334.60°) |
| OKLab | oklab(61.08% 0.1632 -0.072) |
| OKLCH | oklch(61.08% 0.178 336.2) |
| XYZ | xyz(32.5416, 20.2970, 40.7240) |
| Luminance | 0.2029 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.54
Purplish Pink
#CE5DAE
ΔE00 4.16
Purpley Pink
#C83CB9
ΔE00 4.33
Purpleish Pink
#DF4EC8
ΔE00 6.26
Pinkish Purple
#D648D7
ΔE00 7.50
Pale Magenta
#D767AD
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C251AB #51C268
analogous
#A151C2 #C251AB #C25173
triadic
#C251AB #ABC251 #51ABC2
tetradic
#C251AB #C2A151 #51C268 #5173C2
square
#C251AB #C2A151 #51C268 #5173C2
split-complementary
#C251AB #73C251 #51C2A1
monochromatic
#712862 #9E3789 #C251AB #D27EC1 #E2ACD7
Accessibility & contrast
On white
4.15
#C251AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#C251AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C251AB
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C251AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C251AB | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5272AE
Deuteranopia (green-blind)
#7483A8
Tritanopia (blue-blind)
#CB5777
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c251ab; /* rgb */ color: rgb(194, 81, 171); /* oklch */ color: oklch(61.1% 0.178 336.2);
Tailwind
colors: {
custom: {
50: '#d788c4',
500: '#c251ab',
950: '#000000',
},
}SCSS
$custom: #c251ab; $custom-light: #d788c4; $custom-dark: #000000;
JSON
{
"hex": "#c251ab",
"rgb": {
"r": 194,
"g": 81,
"b": 171
},
"hsl": {
"h": 312.212,
"s": 48.085,
"l": 53.922
},
"oklch": {
"l": 0.61083,
"c": 0.17837,
"h": 336.2
},
"luminance": 0.20294
}Semantic roles & 50–950 ramp
primary
#C251AB
secondary
#9FD0A9
accent
#D86C50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81