#C5478C#C5478C
#C5478C is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.1% C 0.175 H 349.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #C5478C |
|---|---|
| RGB | rgb(197, 71, 140) |
| HSL | hsl(327, 52%, 53%) |
| HSV | hsv(327, 64%, 77%) |
| CMYK | cmyk(0%, 64%, 28.9%, 22.7%) |
| CIE-LAB | lab(49.83, 56.75, -11.77) |
| CIE-LCH | lch(49.83, 57.96, 348.28°) |
| OKLab | oklab(59.05% 0.1724 -0.0307) |
| OKLCH | oklch(59.05% 0.175 349.9) |
| XYZ | xyz(30.0142, 18.2734, 26.7523) |
| Luminance | 0.1827 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 6.20
Darkish Pink
#DA467D
ΔE00 6.92
Purplish Pink
#CE5DAE
ΔE00 7.71
Magenta (survey)
#C20078
ΔE00 8.02
Light Plum
#9D5783
ΔE00 8.02
Dark Pink
#CB416B
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5478C #47C580
analogous
#BF47C5 #C5478C #C5474D
triadic
#C5478C #8CC547 #478CC5
tetradic
#C5478C #C5BF47 #47C580 #474DC5
square
#C5478C #C5BF47 #47C580 #474DC5
split-complementary
#C5478C #4DC547 #47C5BF
monochromatic
#6F234C #9D326D #C5478C #D476A9 #E2A4C6
Accessibility & contrast
On white
4.51
#C5478C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#C5478C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C5478C
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5478C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5478C | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58688E
Deuteranopia (green-blind)
#7B7F89
Tritanopia (blue-blind)
#D34163
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #c5478c; /* rgb */ color: rgb(197, 71, 140); /* oklch */ color: oklch(59.1% 0.175 349.9);
Tailwind
colors: {
custom: {
50: '#da82ad',
500: '#c5478c',
950: '#000000',
},
}SCSS
$custom: #c5478c; $custom-light: #da82ad; $custom-dark: #000000;
JSON
{
"hex": "#c5478c",
"rgb": {
"r": 197,
"g": 71,
"b": 140
},
"hsl": {
"h": 327.143,
"s": 52.066,
"l": 52.549
},
"oklch": {
"l": 0.5905,
"c": 0.17515,
"h": 349.9
},
"luminance": 0.1827
}Semantic roles & 50–950 ramp
primary
#C5478C
secondary
#99CFB1
accent
#DC8D4C
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F