#C152A4#C152A4
#C152A4 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.171 H 338.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #C152A4 |
|---|---|
| RGB | rgb(193, 82, 164) |
| HSL | hsl(316, 47%, 54%) |
| HSV | hsv(316, 58%, 76%) |
| CMYK | cmyk(0%, 57.5%, 15%, 24.3%) |
| CIE-LAB | lab(51.90, 54.12, -22.89) |
| CIE-LCH | lch(51.90, 58.76, 337.07°) |
| OKLab | oklab(60.76% 0.1594 -0.0616) |
| OKLCH | oklch(60.76% 0.171 338.9) |
| XYZ | xyz(31.7109, 20.0549, 37.3156) |
| Luminance | 0.2005 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.05
Pinky Purple
#C94CBE
ΔE00 4.96
Purpley Pink
#C83CB9
ΔE00 5.50
Purpleish Pink
#DF4EC8
ΔE00 7.22
Pale Magenta
#D767AD
ΔE00 7.25
Ugly Purple
#A442A0
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C152A4 #52C16F
analogous
#A752C1 #C152A4 #C1526D
triadic
#C152A4 #A4C152 #52A4C1
tetradic
#C152A4 #C1A752 #52C16F #526DC1
square
#C152A4 #C1A752 #52C16F #526DC1
split-complementary
#C152A4 #6DC152 #52C1A7
monochromatic
#70285E #9D3883 #C152A4 #D17FBC #E1ACD3
Accessibility & contrast
On white
4.19
#C152A4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#C152A4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C152A4
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C152A4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C152A4 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5671A7
Deuteranopia (green-blind)
#7782A1
Tritanopia (blue-blind)
#CB5574
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c152a4; /* rgb */ color: rgb(193, 82, 164); /* oklch */ color: oklch(60.8% 0.171 338.9);
Tailwind
colors: {
custom: {
50: '#d688bf',
500: '#c152a4',
950: '#000000',
},
}SCSS
$custom: #c152a4; $custom-light: #d688bf; $custom-dark: #000000;
JSON
{
"hex": "#c152a4",
"rgb": {
"r": 193,
"g": 82,
"b": 164
},
"hsl": {
"h": 315.676,
"s": 47.234,
"l": 53.922
},
"oklch": {
"l": 0.60757,
"c": 0.17093,
"h": 338.9
},
"luminance": 0.20052
}Semantic roles & 50–950 ramp
primary
#C152A4
secondary
#A0CFAC
accent
#D77451
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81