#D12C71#D12C71
#D12C71 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.6% C 0.205 H 1.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #D12C71 |
|---|---|
| RGB | rgb(209, 44, 113) |
| HSL | hsl(335, 65%, 50%) |
| HSV | hsv(335, 79%, 82%) |
| CMYK | cmyk(0%, 78.9%, 45.9%, 18%) |
| CIE-LAB | lab(47.69, 66.57, 1.65) |
| CIE-LCH | lch(47.69, 66.59, 1.42°) |
| OKLab | oklab(57.58% 0.2045 0.005) |
| OKLCH | oklch(57.58% 0.205 1.4) |
| XYZ | xyz(30.1783, 16.5530, 17.2255) |
| Luminance | 0.1655 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Hot Pink
#D90166
ΔE00 3.06
Dark Pink
#CB416B
ΔE00 3.80
Deep Pink
#CB0162
ΔE00 4.23
Cerise
#DE0C62
ΔE00 4.43
Darkish Pink
#DA467D
ΔE00 5.17
Deep Rose
#C74767
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D12C71 #2CD18C
analogous
#D12CC4 #D12C71 #D13A2C
triadic
#D12C71 #71D12C #2C71D1
tetradic
#D12C71 #C4D12C #2CD18C #3A2CD1
square
#D12C71 #C4D12C #2CD18C #3A2CD1
split-complementary
#D12C71 #2CD13A #2CC4D1
monochromatic
#6C173A #9E2156 #D12C71 #DD5D93 #E890B5
Accessibility & contrast
On white
4.87
#D12C71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#D12C71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D12C71
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D12C71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D12C71 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555D73
Deuteranopia (green-blind)
#817D6D
Tritanopia (blue-blind)
#E3004B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #d12c71; /* rgb */ color: rgb(209, 44, 113); /* oklch */ color: oklch(57.6% 0.205 1.4);
Tailwind
colors: {
custom: {
50: '#e57699',
500: '#d12c71',
950: '#000000',
},
}SCSS
$custom: #d12c71; $custom-light: #e57699; $custom-dark: #000000;
JSON
{
"hex": "#d12c71",
"rgb": {
"r": 209,
"g": 44,
"b": 113
},
"hsl": {
"h": 334.909,
"s": 65.217,
"l": 49.608
},
"oklch": {
"l": 0.57585,
"c": 0.20452,
"h": 1.4
},
"luminance": 0.16549
}Semantic roles & 50–950 ramp
primary
#D12C71
secondary
#87D2B3
accent
#E8A240
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E