#D4305F#D4305F
#D4305F is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.9% C 0.200 H 9.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #D4305F |
|---|---|
| RGB | rgb(212, 48, 95) |
| HSL | hsl(343, 66%, 51%) |
| HSV | hsv(343, 77%, 83%) |
| CMYK | cmyk(0%, 77.4%, 55.2%, 16.9%) |
| CIE-LAB | lab(48.19, 64.81, 13.46) |
| CIE-LCH | lch(48.19, 66.19, 11.73°) |
| OKLab | oklab(57.9% 0.1967 0.034) |
| OKLCH | oklch(57.9% 0.2 9.8) |
| XYZ | xyz(30.2768, 16.9415, 12.5000) |
| Luminance | 0.1694 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cherry
#DE3163
ΔE00 2.18
Raspberry
#E30B5C
ΔE00 2.62
Cerise
#DE0C62
ΔE00 2.73
Dark Pink
#CB416B
ΔE00 3.43
Deep Rose
#C74767
ΔE00 3.47
Lipstick
#D5174E
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4305F #30D4A5
analogous
#D430B1 #D4305F #D45330
triadic
#D4305F #5FD430 #305FD4
tetradic
#D4305F #B1D430 #30D4A5 #5330D4
square
#D4305F #B1D430 #30D4A5 #5330D4
split-complementary
#D4305F #30D453 #30B1D4
monochromatic
#721832 #A52248 #D4305F #DF6386 #E995AD
Accessibility & contrast
On white
4.79
#D4305F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#D4305F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D4305F
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4305F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D4305F | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5D60
Deuteranopia (green-blind)
#877E5B
Tritanopia (blue-blind)
#E80044
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #d4305f; /* rgb */ color: rgb(212, 48, 95); /* oklch */ color: oklch(57.9% 0.200 9.8);
Tailwind
colors: {
custom: {
50: '#e8788c',
500: '#d4305f',
950: '#000000',
},
}SCSS
$custom: #d4305f; $custom-light: #e8788c; $custom-dark: #000000;
JSON
{
"hex": "#d4305f",
"rgb": {
"r": 212,
"g": 48,
"b": 95
},
"hsl": {
"h": 342.805,
"s": 65.6,
"l": 50.98
},
"oklch": {
"l": 0.57898,
"c": 0.19964,
"h": 9.8
},
"luminance": 0.16937
}Semantic roles & 50–950 ramp
primary
#D4305F
secondary
#8CD4BF
accent
#E9B83F
background
#FFF7F8
surface
#FFEEF0
border
#D7C9CB
text
#170A0C
muted
#857C7D