#C54FA3#C54FA3
#C54FA3 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.9% C 0.178 H 340.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C54FA3 |
|---|---|
| RGB | rgb(197, 79, 163) |
| HSL | hsl(317, 50%, 54%) |
| HSV | hsv(317, 60%, 77%) |
| CMYK | cmyk(0%, 59.9%, 17.3%, 22.7%) |
| CIE-LAB | lab(51.96, 56.47, -22.16) |
| CIE-LCH | lch(51.96, 60.66, 338.57°) |
| OKLab | oklab(60.91% 0.1675 -0.0595) |
| OKLCH | oklch(60.91% 0.178 340.4) |
| XYZ | xyz(32.4335, 20.1094, 36.8166) |
| Luminance | 0.2011 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.03
Pinky Purple
#C94CBE
ΔE00 5.16
Purpley Pink
#C83CB9
ΔE00 5.53
Purpleish Pink
#DF4EC8
ΔE00 7.10
Pale Magenta
#D767AD
ΔE00 7.11
Ugly Purple
#A442A0
ΔE00 8.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C54FA3 #4FC571
analogous
#AC4FC5 #C54FA3 #C54F68
triadic
#C54FA3 #A3C54F #4FA3C5
tetradic
#C54FA3 #C5AC4F #4FC571 #4F68C5
square
#C54FA3 #C5AC4F #4FC571 #4F68C5
split-complementary
#C54FA3 #68C54F #4FC5AC
monochromatic
#74265D #A23582 #C54FA3 #D47DBB #E3ABD3
Accessibility & contrast
On white
4.18
#C54FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#C54FA3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C54FA3
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C54FA3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C54FA3 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5670A6
Deuteranopia (green-blind)
#7883A0
Tritanopia (blue-blind)
#D05172
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c54fa3; /* rgb */ color: rgb(197, 79, 163); /* oklch */ color: oklch(60.9% 0.178 340.4);
Tailwind
colors: {
custom: {
50: '#da87be',
500: '#c54fa3',
950: '#000000',
},
}SCSS
$custom: #c54fa3; $custom-light: #da87be; $custom-dark: #000000;
JSON
{
"hex": "#c54fa3",
"rgb": {
"r": 197,
"g": 79,
"b": 163
},
"hsl": {
"h": 317.288,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.60909,
"c": 0.17773,
"h": 340.4
},
"luminance": 0.20107
}Semantic roles & 50–950 ramp
primary
#C54FA3
secondary
#9FD1AD
accent
#DA764E
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81