#D4307C#D4307C
#D4307C is a mid, highly saturated pink. Relative luminance 0.176; OKLCH L 58.7% C 0.207 H 358.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #D4307C |
|---|---|
| RGB | rgb(212, 48, 124) |
| HSL | hsl(332, 66%, 51%) |
| HSV | hsv(332, 77%, 83%) |
| CMYK | cmyk(0%, 77.4%, 41.5%, 16.9%) |
| CIE-LAB | lab(48.97, 67.24, -3.13) |
| CIE-LCH | lch(48.97, 67.31, 357.34°) |
| OKLab | oklab(58.73% 0.2068 -0.0074) |
| OKLCH | oklch(58.73% 0.207 358) |
| XYZ | xyz(31.8488, 17.5703, 20.7792) |
| Luminance | 0.1757 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.54
Dark Hot Pink
#D90166
ΔE00 5.12
Dark Pink
#CB416B
ΔE00 5.34
Deep Pink
#CB0162
ΔE00 6.23
Mediumvioletred
#C71585
ΔE00 6.30
Cerise
#DE0C62
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4307C #30D488
analogous
#D430CE #D4307C #D43630
triadic
#D4307C #7CD430 #307CD4
tetradic
#D4307C #CED430 #30D488 #3630D4
square
#D4307C #CED430 #30D488 #3630D4
split-complementary
#D4307C #30D436 #30CED4
monochromatic
#721841 #A5225F #D4307C #DF639C #E995BC
Accessibility & contrast
On white
4.65
#D4307C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#D4307C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #D4307C
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4307C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D4307C | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55617E
Deuteranopia (green-blind)
#817F78
Tritanopia (blue-blind)
#E61152
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #d4307c; /* rgb */ color: rgb(212, 48, 124); /* oklch */ color: oklch(58.7% 0.207 358.0);
Tailwind
colors: {
custom: {
50: '#e779a1',
500: '#d4307c',
950: '#000000',
},
}SCSS
$custom: #d4307c; $custom-light: #e779a1; $custom-dark: #000000;
JSON
{
"hex": "#d4307c",
"rgb": {
"r": 212,
"g": 48,
"b": 124
},
"hsl": {
"h": 332.195,
"s": 65.6,
"l": 50.98
},
"oklch": {
"l": 0.58731,
"c": 0.20688,
"h": 358
},
"luminance": 0.17566
}Semantic roles & 50–950 ramp
primary
#D4307C
secondary
#8CD4B3
accent
#E99A3F
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0F
muted
#857C7E