#D42F72#D42F72
#D42F72 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.3% C 0.205 H 1.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D42F72 |
|---|---|
| RGB | rgb(212, 47, 114) |
| HSL | hsl(336, 66%, 51%) |
| HSV | hsv(336, 78%, 83%) |
| CMYK | cmyk(0%, 77.8%, 46.2%, 16.9%) |
| CIE-LAB | lab(48.57, 66.61, 2.38) |
| CIE-LCH | lch(48.57, 66.65, 2.05°) |
| OKLab | oklab(58.34% 0.2044 0.0068) |
| OKLCH | oklch(58.34% 0.205 1.9) |
| XYZ | xyz(31.2077, 17.2492, 17.6024) |
| Luminance | 0.1724 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Hot Pink
#D90166
ΔE00 3.25
Dark Pink
#CB416B
ΔE00 3.39
Cerise
#DE0C62
ΔE00 4.19
Darkish Pink
#DA467D
ΔE00 4.32
Deep Pink
#CB0162
ΔE00 4.96
Deep Rose
#C74767
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D42F72 #2FD491
analogous
#D42FC5 #D42F72 #D43E2F
triadic
#D42F72 #72D42F #2F72D4
tetradic
#D42F72 #C5D42F #2FD491 #3E2FD4
square
#D42F72 #C5D42F #2FD491 #3E2FD4
split-complementary
#D42F72 #2FD43E #2FC5D4
monochromatic
#71173C #A42257 #D42F72 #DE6294 #E994B7
Accessibility & contrast
On white
4.72
#D42F72 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#D42F72 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D42F72
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D42F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D42F72 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575F74
Deuteranopia (green-blind)
#837F6E
Tritanopia (blue-blind)
#E6004D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #d42f72; /* rgb */ color: rgb(212, 47, 114); /* oklch */ color: oklch(58.3% 0.205 1.9);
Tailwind
colors: {
custom: {
50: '#e7789a',
500: '#d42f72',
950: '#000000',
},
}SCSS
$custom: #d42f72; $custom-light: #e7789a; $custom-dark: #000000;
JSON
{
"hex": "#d42f72",
"rgb": {
"r": 212,
"g": 47,
"b": 114
},
"hsl": {
"h": 335.636,
"s": 65.737,
"l": 50.784
},
"oklch": {
"l": 0.58341,
"c": 0.20455,
"h": 1.9
},
"luminance": 0.17245
}Semantic roles & 50–950 ramp
primary
#D42F72
secondary
#8BD4B6
accent
#E9A43F
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E