#C54FAF#C54FAF
#C54FAF is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.186 H 335.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C54FAF |
|---|---|
| RGB | rgb(197, 79, 175) |
| HSL | hsl(311, 50%, 54%) |
| HSV | hsv(311, 60%, 77%) |
| CMYK | cmyk(0%, 59.9%, 11.2%, 22.7%) |
| CIE-LAB | lab(52.46, 58.29, -28.41) |
| CIE-LCH | lch(52.46, 64.85, 334.02°) |
| OKLab | oklab(61.44% 0.1697 -0.0772) |
| OKLCH | oklch(61.44% 0.186 335.5) |
| XYZ | xyz(33.5601, 20.5601, 42.7501) |
| Luminance | 0.2056 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.74
Purpley Pink
#C83CB9
ΔE00 3.71
Purplish Pink
#CE5DAE
ΔE00 4.25
Purpleish Pink
#DF4EC8
ΔE00 5.57
Pinkish Purple
#D648D7
ΔE00 6.70
Mediumorchid
#BA55D3
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C54FAF #4FC565
analogous
#A04FC5 #C54FAF #C54F74
triadic
#C54FAF #AFC54F #4FAFC5
tetradic
#C54FAF #C5A04F #4FC565 #4F74C5
square
#C54FAF #C5A04F #4FC565 #4F74C5
split-complementary
#C54FAF #74C54F #4FC5A0
monochromatic
#742665 #A2358D #C54FAF #D47DC4 #E3ABD9
Accessibility & contrast
On white
4.11
#C54FAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#C54FAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C54FAF
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C54FAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C54FAF | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5072B2
Deuteranopia (green-blind)
#7484AC
Tritanopia (blue-blind)
#CE5678
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #c54faf; /* rgb */ color: rgb(197, 79, 175); /* oklch */ color: oklch(61.4% 0.186 335.5);
Tailwind
colors: {
custom: {
50: '#d987c7',
500: '#c54faf',
950: '#000000',
},
}SCSS
$custom: #c54faf; $custom-light: #d987c7; $custom-dark: #000000;
JSON
{
"hex": "#c54faf",
"rgb": {
"r": 197,
"g": 79,
"b": 175
},
"hsl": {
"h": 311.186,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.61444,
"c": 0.18642,
"h": 335.5
},
"luminance": 0.20557
}Semantic roles & 50–950 ramp
primary
#C54FAF
secondary
#9FD1A8
accent
#DA684E
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82