#D42F50#D42F50
#D42F50 is a mid, vivid red. Relative luminance 0.166; OKLCH L 57.5% C 0.199 H 15.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D42F50 |
|---|---|
| RGB | rgb(212, 47, 80) |
| HSL | hsl(348, 66%, 51%) |
| HSV | hsv(348, 78%, 83%) |
| CMYK | cmyk(0%, 77.8%, 62.3%, 16.9%) |
| CIE-LAB | lab(47.77, 64.12, 22.07) |
| CIE-LCH | lch(47.77, 67.81, 19.00°) |
| OKLab | oklab(57.49% 0.1919 0.0535) |
| OKLCH | oklch(57.49% 0.199 15.6) |
| XYZ | xyz(29.6190, 16.6137, 9.2350) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 2.41
Raspberry
#E30B5C
ΔE00 4.58
Crimson
#DC143C
ΔE00 4.78
Cherry
#DE3163
ΔE00 4.83
Ruby
#CA0147
ΔE00 5.00
Dusty Red
#B9484E
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D42F50 #2FD4B3
analogous
#D42FA2 #D42F50 #D4602F
triadic
#D42F50 #50D42F #2F50D4
tetradic
#D42F50 #A2D42F #2FD4B3 #602FD4
square
#D42F50 #A2D42F #2FD4B3 #602FD4
split-complementary
#D42F50 #2FD460 #2FA2D4
monochromatic
#711729 #A4223C #D42F50 #DE627B #E994A5
Accessibility & contrast
On white
4.86
#D42F50 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#D42F50 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D42F50
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D42F50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D42F50 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5B50
Deuteranopia (green-blind)
#887E4B
Tritanopia (blue-blind)
#E8003D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #d42f50; /* rgb */ color: rgb(212, 47, 80); /* oklch */ color: oklch(57.5% 0.199 15.6);
Tailwind
colors: {
custom: {
50: '#e97780',
500: '#d42f50',
950: '#000000',
},
}SCSS
$custom: #d42f50; $custom-light: #e97780; $custom-dark: #000000;
JSON
{
"hex": "#d42f50",
"rgb": {
"r": 212,
"g": 47,
"b": 80
},
"hsl": {
"h": 348,
"s": 65.737,
"l": 50.784
},
"oklch": {
"l": 0.57489,
"c": 0.19924,
"h": 15.6
},
"luminance": 0.16609
}Semantic roles & 50–950 ramp
primary
#D42F50
secondary
#8BD4C5
accent
#E9C73F
background
#FFF7F7
surface
#FFEEEE
border
#D7C9C9
text
#180A0A
muted
#867C7C