#C152A2#C152A2
#C152A2 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.169 H 339.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #C152A2 |
|---|---|
| RGB | rgb(193, 82, 162) |
| HSL | hsl(317, 47%, 54%) |
| HSV | hsv(317, 58%, 76%) |
| CMYK | cmyk(0%, 57.5%, 16.1%, 24.3%) |
| CIE-LAB | lab(51.82, 53.81, -21.84) |
| CIE-LCH | lch(51.82, 58.07, 337.91°) |
| OKLab | oklab(60.67% 0.159 -0.0587) |
| OKLCH | oklch(60.67% 0.169 339.7) |
| XYZ | xyz(31.5317, 19.9833, 36.3719) |
| Luminance | 0.1998 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.12
Pinky Purple
#C94CBE
ΔE00 5.38
Purpley Pink
#C83CB9
ΔE00 5.84
Pale Magenta
#D767AD
ΔE00 7.19
Purpleish Pink
#DF4EC8
ΔE00 7.51
Ugly Purple
#A442A0
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C152A2 #52C171
analogous
#A952C1 #C152A2 #C1526B
triadic
#C152A2 #A2C152 #52A2C1
tetradic
#C152A2 #C1A952 #52C171 #526BC1
square
#C152A2 #C1A952 #52C171 #526BC1
split-complementary
#C152A2 #6BC152 #52C1A9
monochromatic
#70285C #9D3881 #C152A2 #D17FBA #E1ACD2
Accessibility & contrast
On white
4.20
#C152A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#C152A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C152A2
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C152A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C152A2 | 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)
#5770A5
Deuteranopia (green-blind)
#77829F
Tritanopia (blue-blind)
#CB5573
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c152a2; /* rgb */ color: rgb(193, 82, 162); /* oklch */ color: oklch(60.7% 0.169 339.7);
Tailwind
colors: {
custom: {
50: '#d688bd',
500: '#c152a2',
950: '#000000',
},
}SCSS
$custom: #c152a2; $custom-light: #d688bd; $custom-dark: #000000;
JSON
{
"hex": "#c152a2",
"rgb": {
"r": 193,
"g": 82,
"b": 162
},
"hsl": {
"h": 316.757,
"s": 47.234,
"l": 53.922
},
"oklch": {
"l": 0.60671,
"c": 0.16949,
"h": 339.7
},
"luminance": 0.19981
}Semantic roles & 50–950 ramp
primary
#C152A2
secondary
#A0CFAD
accent
#D77651
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81