#C54DA2#C54DA2
#C54DA2 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.180 H 340.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #C54DA2 |
|---|---|
| RGB | rgb(197, 77, 162) |
| HSL | hsl(318, 51%, 54%) |
| HSV | hsv(318, 61%, 77%) |
| CMYK | cmyk(0%, 60.9%, 17.8%, 22.7%) |
| CIE-LAB | lab(51.60, 57.19, -22.13) |
| CIE-LCH | lch(51.60, 61.33, 338.85°) |
| OKLab | oklab(60.63% 0.1699 -0.0594) |
| OKLCH | oklch(60.63% 0.18 340.7) |
| XYZ | xyz(32.2021, 19.7895, 36.2992) |
| Luminance | 0.1979 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.42
Pinky Purple
#C94CBE
ΔE00 5.27
Purpley Pink
#C83CB9
ΔE00 5.43
Purpleish Pink
#DF4EC8
ΔE00 7.32
Pale Magenta
#D767AD
ΔE00 7.47
Ugly Purple
#A442A0
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C54DA2 #4DC570
analogous
#AC4DC5 #C54DA2 #C54D66
triadic
#C54DA2 #A2C54D #4DA2C5
tetradic
#C54DA2 #C5AC4D #4DC570 #4D66C5
square
#C54DA2 #C5AC4D #4DC570 #4D66C5
split-complementary
#C54DA2 #66C54D #4DC5AC
monochromatic
#72255C #A03481 #C54DA2 #D47BBA #E3A9D2
Accessibility & contrast
On white
4.24
#C54DA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#C54DA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C54DA2
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C54DA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C54DA2 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546FA5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#D04F71
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c54da2; /* rgb */ color: rgb(197, 77, 162); /* oklch */ color: oklch(60.6% 0.180 340.7);
Tailwind
colors: {
custom: {
50: '#da86bd',
500: '#c54da2',
950: '#000000',
},
}SCSS
$custom: #c54da2; $custom-light: #da86bd; $custom-dark: #000000;
JSON
{
"hex": "#c54da2",
"rgb": {
"r": 197,
"g": 77,
"b": 162
},
"hsl": {
"h": 317.5,
"s": 50.847,
"l": 53.725
},
"oklch": {
"l": 0.60629,
"c": 0.17998,
"h": 340.7
},
"luminance": 0.19787
}Semantic roles & 50–950 ramp
primary
#C54DA2
secondary
#9DD1AC
accent
#DA774D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81