#C152A1#C152A1
#C152A1 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.169 H 340.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #C152A1 |
|---|---|
| RGB | rgb(193, 82, 161) |
| HSL | hsl(317, 47%, 54%) |
| HSV | hsv(317, 58%, 76%) |
| CMYK | cmyk(0%, 57.5%, 16.6%, 24.3%) |
| CIE-LAB | lab(51.78, 53.66, -21.32) |
| CIE-LCH | lch(51.78, 57.74, 338.33°) |
| OKLab | oklab(60.63% 0.1588 -0.0572) |
| OKLCH | oklch(60.63% 0.169 340.2) |
| XYZ | xyz(31.4432, 19.9478, 35.9056) |
| Luminance | 0.1994 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.17
Pinky Purple
#C94CBE
ΔE00 5.58
Purpley Pink
#C83CB9
ΔE00 6.02
Pale Magenta
#D767AD
ΔE00 7.17
Purpleish Pink
#DF4EC8
ΔE00 7.66
Purpleish
#98568D
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C152A1 #52C172
analogous
#AA52C1 #C152A1 #C1526A
triadic
#C152A1 #A1C152 #52A1C1
tetradic
#C152A1 #C1AA52 #52C172 #526AC1
square
#C152A1 #C1AA52 #52C172 #526AC1
split-complementary
#C152A1 #6AC152 #52C1AA
monochromatic
#70285C #9D3880 #C152A1 #D17FB9 #E1ACD2
Accessibility & contrast
On white
4.21
#C152A1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#C152A1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C152A1
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C152A1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C152A1 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5870A4
Deuteranopia (green-blind)
#78829E
Tritanopia (blue-blind)
#CB5472
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c152a1; /* rgb */ color: rgb(193, 82, 161); /* oklch */ color: oklch(60.6% 0.169 340.2);
Tailwind
colors: {
custom: {
50: '#d688bd',
500: '#c152a1',
950: '#000000',
},
}SCSS
$custom: #c152a1; $custom-light: #d688bd; $custom-dark: #000000;
JSON
{
"hex": "#c152a1",
"rgb": {
"r": 193,
"g": 82,
"b": 161
},
"hsl": {
"h": 317.297,
"s": 47.234,
"l": 53.922
},
"oklch": {
"l": 0.60628,
"c": 0.16878,
"h": 340.2
},
"luminance": 0.19945
}Semantic roles & 50–950 ramp
primary
#C152A1
secondary
#A0CFAD
accent
#D77851
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81