#C152AB#C152AB
#C152AB is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.176 H 335.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C152AB |
|---|---|
| RGB | rgb(193, 82, 171) |
| HSL | hsl(312, 47%, 54%) |
| HSV | hsv(312, 58%, 76%) |
| CMYK | cmyk(0%, 57.5%, 11.4%, 24.3%) |
| CIE-LAB | lab(52.19, 55.21, -26.54) |
| CIE-LCH | lch(52.19, 61.26, 334.32°) |
| OKLab | oklab(61.07% 0.1608 -0.072) |
| OKLCH | oklch(61.07% 0.176 335.9) |
| XYZ | xyz(32.3606, 20.3148, 40.7369) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.59
Purplish Pink
#CE5DAE
ΔE00 4.16
Purpley Pink
#C83CB9
ΔE00 4.44
Purpleish Pink
#DF4EC8
ΔE00 6.34
Pinkish Purple
#D648D7
ΔE00 7.55
Pale Magenta
#D767AD
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C152AB #52C168
analogous
#A052C1 #C152AB #C15274
triadic
#C152AB #ABC152 #52ABC1
tetradic
#C152AB #C1A052 #52C168 #5274C1
square
#C152AB #C1A052 #52C168 #5274C1
split-complementary
#C152AB #74C152 #52C1A0
monochromatic
#702862 #9D3889 #C152AB #D17FC1 #E1ACD7
Accessibility & contrast
On white
4.15
#C152AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#C152AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C152AB
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C152AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C152AB | 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)
#5372AE
Deuteranopia (green-blind)
#7483A8
Tritanopia (blue-blind)
#CA5877
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c152ab; /* rgb */ color: rgb(193, 82, 171); /* oklch */ color: oklch(61.1% 0.176 335.9);
Tailwind
colors: {
custom: {
50: '#d688c4',
500: '#c152ab',
950: '#000000',
},
}SCSS
$custom: #c152ab; $custom-light: #d688c4; $custom-dark: #000000;
JSON
{
"hex": "#c152ab",
"rgb": {
"r": 193,
"g": 82,
"b": 171
},
"hsl": {
"h": 311.892,
"s": 47.234,
"l": 53.922
},
"oklch": {
"l": 0.61068,
"c": 0.17616,
"h": 335.9
},
"luminance": 0.20312
}Semantic roles & 50–950 ramp
primary
#C152AB
secondary
#A0CFA9
accent
#D76B51
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81