#D04262#D04262
#D04262 is a mid, vivid red. Relative luminance 0.182; OKLCH L 58.9% C 0.178 H 11.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #D04262 |
|---|---|
| RGB | rgb(208, 66, 98) |
| HSL | hsl(346, 60%, 54%) |
| HSV | hsv(346, 68%, 82%) |
| CMYK | cmyk(0%, 68.3%, 52.9%, 18.4%) |
| CIE-LAB | lab(49.73, 57.75, 13.66) |
| CIE-LCH | lch(49.73, 59.35, 13.30°) |
| OKLab | oklab(58.93% 0.1749 0.0346) |
| OKLCH | oklch(58.93% 0.178 11.2) |
| XYZ | xyz(30.1679, 18.1922, 13.4758) |
| Luminance | 0.1819 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Rose
#C74767
ΔE00 2.31
Cherry
#DE3163
ΔE00 2.66
Dark Pink
#CB416B
ΔE00 3.38
Raspberry
#E30B5C
ΔE00 4.48
Cerise
#DE0C62
ΔE00 5.01
Dark Rose
#B5485D
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D04262 #42D0B0
analogous
#D042A9 #D04262 #D06942
triadic
#D04262 #62D042 #4262D0
tetradic
#D04262 #A9D042 #42D0B0 #6942D0
square
#D04262 #A9D042 #42D0B0 #6942D0
split-complementary
#D04262 #42D069 #42A9D0
monochromatic
#791E33 #AA2A47 #D04262 #DC738B #E8A4B3
Accessibility & contrast
On white
4.53
#D04262 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#D04262 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D04262
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D04262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D04262 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646462
Deuteranopia (green-blind)
#89815F
Tritanopia (blue-blind)
#E3264F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #d04262; /* rgb */ color: rgb(208, 66, 98); /* oklch */ color: oklch(58.9% 0.178 11.2);
Tailwind
colors: {
custom: {
50: '#e47f8e',
500: '#d04262',
950: '#000000',
},
}SCSS
$custom: #d04262; $custom-light: #e47f8e; $custom-dark: #000000;
JSON
{
"hex": "#d04262",
"rgb": {
"r": 208,
"g": 66,
"b": 98
},
"hsl": {
"h": 346.479,
"s": 60.169,
"l": 53.725
},
"oklch": {
"l": 0.5893,
"c": 0.17826,
"h": 11.2
},
"luminance": 0.18188
}Semantic roles & 50–950 ramp
primary
#D04262
secondary
#99D5C8
accent
#E3C044
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#170B0C
muted
#857C7D