#C5479E#C5479E
#C5479E is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.8% C 0.186 H 342.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C5479E |
|---|---|
| RGB | rgb(197, 71, 158) |
| HSL | hsl(319, 52%, 53%) |
| HSV | hsv(319, 64%, 77%) |
| CMYK | cmyk(0%, 64%, 19.8%, 22.7%) |
| CIE-LAB | lab(50.51, 59.16, -21.44) |
| CIE-LCH | lch(50.51, 62.93, 340.08°) |
| OKLab | oklab(59.78% 0.1767 -0.0574) |
| OKLCH | oklch(59.78% 0.186 342) |
| XYZ | xyz(31.4516, 18.8483, 34.3228) |
| Luminance | 0.1885 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 5.52
Purplish Pink
#CE5DAE
ΔE00 5.64
Pinky Purple
#C94CBE
ΔE00 5.99
Mediumvioletred
#C71585
ΔE00 7.19
Ugly Purple
#A442A0
ΔE00 7.92
Purpleish Pink
#DF4EC8
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5479E #47C56E
analogous
#AD47C5 #C5479E #C5475F
triadic
#C5479E #9EC547 #479EC5
tetradic
#C5479E #C5AD47 #47C56E #475FC5
square
#C5479E #C5AD47 #47C56E #475FC5
split-complementary
#C5479E #5FC547 #47C5AD
monochromatic
#6F2357 #9D327C #C5479E #D476B7 #E2A4CF
Accessibility & contrast
On white
4.40
#C5479E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#C5479E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C5479E
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5479E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5479E | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516BA1
Deuteranopia (green-blind)
#76809B
Tritanopia (blue-blind)
#D1486C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #c5479e; /* rgb */ color: rgb(197, 71, 158); /* oklch */ color: oklch(59.8% 0.186 342.0);
Tailwind
colors: {
custom: {
50: '#da82ba',
500: '#c5479e',
950: '#000000',
},
}SCSS
$custom: #c5479e; $custom-light: #da82ba; $custom-dark: #000000;
JSON
{
"hex": "#c5479e",
"rgb": {
"r": 197,
"g": 71,
"b": 158
},
"hsl": {
"h": 318.571,
"s": 52.066,
"l": 52.549
},
"oklch": {
"l": 0.59776,
"c": 0.18583,
"h": 342
},
"luminance": 0.18845
}Semantic roles & 50–950 ramp
primary
#C5479E
secondary
#99CFA9
accent
#DC794C
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80