#C151AB#C151AB
#C151AB is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.178 H 335.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #C151AB |
|---|---|
| RGB | rgb(193, 81, 171) |
| HSL | hsl(312, 47%, 54%) |
| HSV | hsv(312, 58%, 76%) |
| CMYK | cmyk(0%, 58%, 11.4%, 24.3%) |
| CIE-LAB | lab(52.02, 55.66, -26.80) |
| CIE-LCH | lch(52.02, 61.78, 334.29°) |
| OKLab | oklab(60.95% 0.1621 -0.0727) |
| OKLCH | oklch(60.95% 0.178 335.8) |
| XYZ | xyz(32.2857, 20.1651, 40.7120) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.53
Purpley Pink
#C83CB9
ΔE00 4.26
Purplish Pink
#CE5DAE
ΔE00 4.34
Purpleish Pink
#DF4EC8
ΔE00 6.39
Pinkish Purple
#D648D7
ΔE00 7.52
Ugly Purple
#A442A0
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C151AB #51C167
analogous
#9F51C1 #C151AB #C15173
triadic
#C151AB #ABC151 #51ABC1
tetradic
#C151AB #C19F51 #51C167 #5173C1
square
#C151AB #C19F51 #51C167 #5173C1
split-complementary
#C151AB #73C151 #51C19F
monochromatic
#702862 #9D3889 #C151AB #D17EC1 #E1ABD7
Accessibility & contrast
On white
4.17
#C151AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#C151AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C151AB
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C151AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C151AB | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5271AE
Deuteranopia (green-blind)
#7482A8
Tritanopia (blue-blind)
#CA5777
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c151ab; /* rgb */ color: rgb(193, 81, 171); /* oklch */ color: oklch(60.9% 0.178 335.8);
Tailwind
colors: {
custom: {
50: '#d688c4',
500: '#c151ab',
950: '#000000',
},
}SCSS
$custom: #c151ab; $custom-light: #d688c4; $custom-dark: #000000;
JSON
{
"hex": "#c151ab",
"rgb": {
"r": 193,
"g": 81,
"b": 171
},
"hsl": {
"h": 311.786,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.60945,
"c": 0.17767,
"h": 335.8
},
"luminance": 0.20163
}Semantic roles & 50–950 ramp
primary
#C151AB
secondary
#9FCFA8
accent
#D76B51
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81