#D12C70#D12C70
#D12C70 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.6% C 0.204 H 1.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #D12C70 |
|---|---|
| RGB | rgb(209, 44, 112) |
| HSL | hsl(335, 65%, 50%) |
| HSV | hsv(335, 79%, 82%) |
| CMYK | cmyk(0%, 78.9%, 46.4%, 18%) |
| CIE-LAB | lab(47.66, 66.48, 2.22) |
| CIE-LCH | lch(47.66, 66.52, 1.91°) |
| OKLab | oklab(57.56% 0.2041 0.0064) |
| OKLCH | oklch(57.56% 0.204 1.8) |
| XYZ | xyz(30.1223, 16.5306, 16.9306) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Hot Pink
#D90166
ΔE00 2.89
Dark Pink
#CB416B
ΔE00 3.62
Deep Pink
#CB0162
ΔE00 4.14
Cerise
#DE0C62
ΔE00 4.21
Darkish Pink
#DA467D
ΔE00 5.19
Deep Rose
#C74767
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D12C70 #2CD18D
analogous
#D12CC2 #D12C70 #D13B2C
triadic
#D12C70 #70D12C #2C70D1
tetradic
#D12C70 #C2D12C #2CD18D #3B2CD1
square
#D12C70 #C2D12C #2CD18D #3B2CD1
split-complementary
#D12C70 #2CD13B #2CC2D1
monochromatic
#6C173A #9E2155 #D12C70 #DD5D92 #E890B4
Accessibility & contrast
On white
4.88
#D12C70 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#D12C70 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D12C70
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D12C70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D12C70 | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555D72
Deuteranopia (green-blind)
#817C6C
Tritanopia (blue-blind)
#E3004B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #d12c70; /* rgb */ color: rgb(209, 44, 112); /* oklch */ color: oklch(57.6% 0.204 1.8);
Tailwind
colors: {
custom: {
50: '#e57698',
500: '#d12c70',
950: '#000000',
},
}SCSS
$custom: #d12c70; $custom-light: #e57698; $custom-dark: #000000;
JSON
{
"hex": "#d12c70",
"rgb": {
"r": 209,
"g": 44,
"b": 112
},
"hsl": {
"h": 335.273,
"s": 65.217,
"l": 49.608
},
"oklch": {
"l": 0.57555,
"c": 0.20423,
"h": 1.8
},
"luminance": 0.16527
}Semantic roles & 50–950 ramp
primary
#D12C70
secondary
#87D2B3
accent
#E8A340
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E