#C154A2#C154A2
#C154A2 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.166 H 339.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C154A2 |
|---|---|
| RGB | rgb(193, 84, 162) |
| HSL | hsl(317, 47%, 54%) |
| HSV | hsv(317, 56%, 76%) |
| CMYK | cmyk(0%, 56.5%, 16.1%, 24.3%) |
| CIE-LAB | lab(52.16, 52.88, -21.31) |
| CIE-LCH | lch(52.16, 57.02, 338.05°) |
| OKLab | oklab(60.93% 0.1562 -0.0572) |
| OKLCH | oklch(60.93% 0.166 339.9) |
| XYZ | xyz(31.6848, 20.2893, 36.4229) |
| Luminance | 0.2029 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.80
Pinky Purple
#C94CBE
ΔE00 5.54
Purpley Pink
#C83CB9
ΔE00 6.18
Pale Magenta
#D767AD
ΔE00 6.81
Purpleish Pink
#DF4EC8
ΔE00 7.49
Purpleish
#98568D
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C154A2 #54C173
analogous
#AA54C1 #C154A2 #C1546C
triadic
#C154A2 #A2C154 #54A2C1
tetradic
#C154A2 #C1AA54 #54C173 #546CC1
square
#C154A2 #C1AA54 #54C173 #546CC1
split-complementary
#C154A2 #6CC154 #54C1AA
monochromatic
#71295D #9E3982 #C154A2 #D181BA #E2AED3
Accessibility & contrast
On white
4.15
#C154A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#C154A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C154A2
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C154A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C154A2 | 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)
#5971A5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#CB5674
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c154a2; /* rgb */ color: rgb(193, 84, 162); /* oklch */ color: oklch(60.9% 0.166 339.9);
Tailwind
colors: {
custom: {
50: '#d689bd',
500: '#c154a2',
950: '#000000',
},
}SCSS
$custom: #c154a2; $custom-light: #d689bd; $custom-dark: #000000;
JSON
{
"hex": "#c154a2",
"rgb": {
"r": 193,
"g": 84,
"b": 162
},
"hsl": {
"h": 317.064,
"s": 46.781,
"l": 54.314
},
"oklch": {
"l": 0.60926,
"c": 0.1664,
"h": 339.9
},
"luminance": 0.20287
}Semantic roles & 50–950 ramp
primary
#C154A2
secondary
#A1D0AE
accent
#D67751
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81