#C54BA2#C54BA2
#C54BA2 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.4% C 0.183 H 340.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #C54BA2 |
|---|---|
| RGB | rgb(197, 75, 162) |
| HSL | hsl(317, 51%, 53%) |
| HSV | hsv(317, 62%, 77%) |
| CMYK | cmyk(0%, 61.9%, 17.8%, 22.7%) |
| CIE-LAB | lab(51.28, 58.05, -22.61) |
| CIE-LCH | lch(51.28, 62.30, 338.72°) |
| OKLab | oklab(60.4% 0.1725 -0.0607) |
| OKLCH | oklch(60.4% 0.183 340.6) |
| XYZ | xyz(32.0643, 19.5139, 36.2533) |
| Luminance | 0.1951 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.77
Purpley Pink
#C83CB9
ΔE00 5.17
Pinky Purple
#C94CBE
ΔE00 5.21
Purpleish Pink
#DF4EC8
ΔE00 7.41
Pale Magenta
#D767AD
ΔE00 7.85
Ugly Purple
#A442A0
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C54BA2 #4BC56E
analogous
#AB4BC5 #C54BA2 #C54B65
triadic
#C54BA2 #A2C54B #4BA2C5
tetradic
#C54BA2 #C5AB4B #4BC56E #4B65C5
square
#C54BA2 #C5AB4B #4BC56E #4B65C5
split-complementary
#C54BA2 #65C54B #4BC5AB
monochromatic
#71245B #9F3380 #C54BA2 #D479BA #E3A8D2
Accessibility & contrast
On white
4.28
#C54BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#C54BA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C54BA2
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C54BA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C54BA2 | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526EA5
Deuteranopia (green-blind)
#77819F
Tritanopia (blue-blind)
#D04D70
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #c54ba2; /* rgb */ color: rgb(197, 75, 162); /* oklch */ color: oklch(60.4% 0.183 340.6);
Tailwind
colors: {
custom: {
50: '#da84bd',
500: '#c54ba2',
950: '#000000',
},
}SCSS
$custom: #c54ba2; $custom-light: #da84bd; $custom-dark: #000000;
JSON
{
"hex": "#c54ba2",
"rgb": {
"r": 197,
"g": 75,
"b": 162
},
"hsl": {
"h": 317.213,
"s": 51.261,
"l": 53.333
},
"oklch": {
"l": 0.60398,
"c": 0.18287,
"h": 340.6
},
"luminance": 0.19511
}Semantic roles & 50–950 ramp
primary
#C54BA2
secondary
#9CD0AB
accent
#DB764D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150B12
muted
#837C81