#C7478F#C7478F
#C7478F is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.5% C 0.178 H 349.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #C7478F |
|---|---|
| RGB | rgb(199, 71, 143) |
| HSL | hsl(326, 53%, 53%) |
| HSV | hsv(326, 64%, 78%) |
| CMYK | cmyk(0%, 64.3%, 28.1%, 22%) |
| CIE-LAB | lab(50.26, 57.71, -12.88) |
| CIE-LCH | lch(50.26, 59.13, 347.42°) |
| OKLab | oklab(59.47% 0.1752 -0.0337) |
| OKLCH | oklch(59.47% 0.178 349.1) |
| XYZ | xyz(30.7657, 18.6349, 27.9579) |
| Luminance | 0.1863 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 6.38
Darkish Pink
#DA467D
ΔE00 7.10
Purplish Pink
#CE5DAE
ΔE00 7.14
Magenta (survey)
#C20078
ΔE00 8.36
Light Plum
#9D5783
ΔE00 8.36
Neon Pink
#FE019A
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7478F #47C77F
analogous
#BF47C7 #C7478F #C7474F
triadic
#C7478F #8FC747 #478FC7
tetradic
#C7478F #C7BF47 #47C77F #474FC7
square
#C7478F #C7BF47 #47C77F #474FC7
split-complementary
#C7478F #4FC747 #47C7BF
monochromatic
#71224F #A0316F #C7478F #D576AC #E4A5C8
Accessibility & contrast
On white
4.44
#C7478F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#C7478F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C7478F
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7478F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7478F | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586991
Deuteranopia (green-blind)
#7C808C
Tritanopia (blue-blind)
#D54265
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #c7478f; /* rgb */ color: rgb(199, 71, 143); /* oklch */ color: oklch(59.5% 0.178 349.1);
Tailwind
colors: {
custom: {
50: '#dc82af',
500: '#c7478f',
950: '#000000',
},
}SCSS
$custom: #c7478f; $custom-light: #dc82af; $custom-dark: #000000;
JSON
{
"hex": "#c7478f",
"rgb": {
"r": 199,
"g": 71,
"b": 143
},
"hsl": {
"h": 326.25,
"s": 53.333,
"l": 52.941
},
"oklch": {
"l": 0.59465,
"c": 0.1784,
"h": 349.1
},
"luminance": 0.18632
}Semantic roles & 50–950 ramp
primary
#C7478F
secondary
#99D1B1
accent
#DD8B4B
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#150B10
muted
#847C7F