#C74A8F#C74A8F
#C74A8F is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.8% C 0.174 H 349.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #C74A8F |
|---|---|
| RGB | rgb(199, 74, 143) |
| HSL | hsl(327, 53%, 54%) |
| HSV | hsv(327, 63%, 78%) |
| CMYK | cmyk(0%, 62.8%, 28.1%, 22%) |
| CIE-LAB | lab(50.72, 56.45, -12.19) |
| CIE-LCH | lch(50.72, 57.75, 347.82°) |
| OKLab | oklab(59.81% 0.1713 -0.0318) |
| OKLCH | oklch(59.81% 0.174 349.5) |
| XYZ | xyz(30.9612, 19.0260, 28.0231) |
| Luminance | 0.1902 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 6.80
Purplish Pink
#CE5DAE
ΔE00 6.88
Mediumvioletred
#C71585
ΔE00 6.97
Light Plum
#9D5783
ΔE00 8.33
Pale Magenta
#D767AD
ΔE00 8.40
Neon Pink
#FE019A
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C74A8F #4AC782
analogous
#C04AC7 #C74A8F #C74A50
triadic
#C74A8F #8FC74A #4A8FC7
tetradic
#C74A8F #C7C04A #4AC782 #4A50C7
square
#C74A8F #C7C04A #4AC782 #4A50C7
split-complementary
#C74A8F #50C74A #4AC7C0
monochromatic
#73244F #A23270 #C74A8F #D579AC #E4A7C9
Accessibility & contrast
On white
4.37
#C74A8F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#C74A8F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C74A8F
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C74A8F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C74A8F | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A6B91
Deuteranopia (green-blind)
#7D818C
Tritanopia (blue-blind)
#D54566
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #c74a8f; /* rgb */ color: rgb(199, 74, 143); /* oklch */ color: oklch(59.8% 0.174 349.5);
Tailwind
colors: {
custom: {
50: '#dc84af',
500: '#c74a8f',
950: '#000000',
},
}SCSS
$custom: #c74a8f; $custom-light: #dc84af; $custom-dark: #000000;
JSON
{
"hex": "#c74a8f",
"rgb": {
"r": 199,
"g": 74,
"b": 143
},
"hsl": {
"h": 326.88,
"s": 52.743,
"l": 53.529
},
"oklch": {
"l": 0.59805,
"c": 0.17423,
"h": 349.5
},
"luminance": 0.19023
}Semantic roles & 50–950 ramp
primary
#C74A8F
secondary
#9CD1B4
accent
#DC8C4C
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F