#C152A3#C152A3
#C152A3 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.170 H 339.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #C152A3 |
|---|---|
| RGB | rgb(193, 82, 163) |
| HSL | hsl(316, 47%, 54%) |
| HSV | hsv(316, 58%, 76%) |
| CMYK | cmyk(0%, 57.5%, 15.5%, 24.3%) |
| CIE-LAB | lab(51.86, 53.96, -22.37) |
| CIE-LCH | lch(51.86, 58.41, 337.49°) |
| OKLab | oklab(60.71% 0.1592 -0.0602) |
| OKLCH | oklch(60.71% 0.17 339.3) |
| XYZ | xyz(31.6210, 20.0190, 36.8419) |
| Luminance | 0.2002 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.08
Pinky Purple
#C94CBE
ΔE00 5.17
Purpley Pink
#C83CB9
ΔE00 5.67
Pale Magenta
#D767AD
ΔE00 7.22
Purpleish Pink
#DF4EC8
ΔE00 7.36
Ugly Purple
#A442A0
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C152A3 #52C170
analogous
#A852C1 #C152A3 #C1526C
triadic
#C152A3 #A3C152 #52A3C1
tetradic
#C152A3 #C1A852 #52C170 #526CC1
square
#C152A3 #C1A852 #52C170 #526CC1
split-complementary
#C152A3 #6CC152 #52C1A8
monochromatic
#70285D #9D3882 #C152A3 #D17FBB #E1ACD3
Accessibility & contrast
On white
4.20
#C152A3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#C152A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C152A3
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C152A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C152A3 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5771A6
Deuteranopia (green-blind)
#7782A0
Tritanopia (blue-blind)
#CB5573
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c152a3; /* rgb */ color: rgb(193, 82, 163); /* oklch */ color: oklch(60.7% 0.170 339.3);
Tailwind
colors: {
custom: {
50: '#d688be',
500: '#c152a3',
950: '#000000',
},
}SCSS
$custom: #c152a3; $custom-light: #d688be; $custom-dark: #000000;
JSON
{
"hex": "#c152a3",
"rgb": {
"r": 193,
"g": 82,
"b": 163
},
"hsl": {
"h": 316.216,
"s": 47.234,
"l": 53.922
},
"oklch": {
"l": 0.60714,
"c": 0.1702,
"h": 339.3
},
"luminance": 0.20016
}Semantic roles & 50–950 ramp
primary
#C152A3
secondary
#A0CFAD
accent
#D77551
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81