#D12C72#D12C72
#D12C72 is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.6% C 0.205 H 1.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #D12C72 |
|---|---|
| RGB | rgb(209, 44, 114) |
| HSL | hsl(335, 65%, 50%) |
| HSV | hsv(335, 79%, 82%) |
| CMYK | cmyk(0%, 78.9%, 45.5%, 18%) |
| CIE-LAB | lab(47.72, 66.66, 1.07) |
| CIE-LCH | lch(47.72, 66.67, 0.92°) |
| OKLab | oklab(57.62% 0.2048 0.0035) |
| OKLCH | oklch(57.62% 0.205 1) |
| XYZ | xyz(30.2349, 16.5757, 17.5236) |
| Luminance | 0.1657 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Hot Pink
#D90166
ΔE00 3.24
Dark Pink
#CB416B
ΔE00 3.98
Deep Pink
#CB0162
ΔE00 4.34
Cerise
#DE0C62
ΔE00 4.64
Darkish Pink
#DA467D
ΔE00 5.16
Deep Rose
#C74767
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D12C72 #2CD18B
analogous
#D12CC5 #D12C72 #D1382C
triadic
#D12C72 #72D12C #2C72D1
tetradic
#D12C72 #C5D12C #2CD18B #382CD1
square
#D12C72 #C5D12C #2CD18B #382CD1
split-complementary
#D12C72 #2CD138 #2CC5D1
monochromatic
#6C173B #9E2156 #D12C72 #DD5D93 #E890B5
Accessibility & contrast
On white
4.87
#D12C72 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#D12C72 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D12C72
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D12C72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D12C72 | 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)
#545D74
Deuteranopia (green-blind)
#807D6E
Tritanopia (blue-blind)
#E3004C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #d12c72; /* rgb */ color: rgb(209, 44, 114); /* oklch */ color: oklch(57.6% 0.205 1.0);
Tailwind
colors: {
custom: {
50: '#e5769a',
500: '#d12c72',
950: '#000000',
},
}SCSS
$custom: #d12c72; $custom-light: #e5769a; $custom-dark: #000000;
JSON
{
"hex": "#d12c72",
"rgb": {
"r": 209,
"g": 44,
"b": 114
},
"hsl": {
"h": 334.545,
"s": 65.217,
"l": 49.608
},
"oklch": {
"l": 0.57616,
"c": 0.20482,
"h": 1
},
"luminance": 0.16572
}Semantic roles & 50–950 ramp
primary
#D12C72
secondary
#87D2B2
accent
#E8A140
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E