#D9407F#D9407F
#D9407F is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.0% C 0.195 H 359.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #D9407F |
|---|---|
| RGB | rgb(217, 64, 127) |
| HSL | hsl(335, 67%, 55%) |
| HSV | hsv(335, 71%, 85%) |
| CMYK | cmyk(0%, 70.5%, 41.5%, 14.9%) |
| CIE-LAB | lab(51.79, 63.73, -0.70) |
| CIE-LCH | lch(51.79, 63.74, 359.37°) |
| OKLab | oklab(60.99% 0.1954 -0.0011) |
| OKLCH | oklch(60.99% 0.195 359.7) |
| XYZ | xyz(34.2819, 19.9551, 22.1210) |
| Luminance | 0.1995 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 1.56
Dark Pink
#CB416B
ΔE00 4.93
Strong Pink
#FF0789
ΔE00 5.92
Rose
#FF007F
ΔE00 6.00
Hot Pink (survey)
#FF028D
ΔE00 6.09
Electric Pink
#FF0490
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9407F #40D99A
analogous
#D940CC #D9407F #D94D40
triadic
#D9407F #7FD940 #407FD9
tetradic
#D9407F #CCD940 #40D99A #4D40D9
square
#D9407F #CCD940 #40D99A #4D40D9
split-complementary
#D9407F #40D94D #40CCD9
monochromatic
#841A46 #B72461 #D9407F #E373A1 #EDA6C3
Accessibility & contrast
On white
4.21
#D9407F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#D9407F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D9407F
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9407F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9407F | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606981
Deuteranopia (green-blind)
#89867B
Tritanopia (blue-blind)
#EB2B5A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #d9407f; /* rgb */ color: rgb(217, 64, 127); /* oklch */ color: oklch(61.0% 0.195 359.7);
Tailwind
colors: {
custom: {
50: '#ea80a4',
500: '#d9407f',
950: '#000000',
},
}SCSS
$custom: #d9407f; $custom-light: #ea80a4; $custom-dark: #000000;
JSON
{
"hex": "#d9407f",
"rgb": {
"r": 217,
"g": 64,
"b": 127
},
"hsl": {
"h": 335.294,
"s": 66.812,
"l": 55.098
},
"oklch": {
"l": 0.60993,
"c": 0.1954,
"h": 359.7
},
"luminance": 0.19951
}Semantic roles & 50–950 ramp
primary
#D9407F
secondary
#9ADAC0
accent
#EAA33E
background
#FFF8FA
surface
#FEEFF3
border
#D6CACD
text
#170B0F
muted
#857C7F