#D2226C#D2226C
#D2226C is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.0% C 0.212 H 2.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #D2226C |
|---|---|
| RGB | rgb(210, 34, 108) |
| HSL | hsl(335, 72%, 48%) |
| HSV | hsv(335, 84%, 82%) |
| CMYK | cmyk(0%, 83.8%, 48.6%, 17.6%) |
| CIE-LAB | lab(46.89, 68.84, 3.58) |
| CIE-LCH | lch(46.89, 68.93, 2.97°) |
| OKLab | oklab(56.98% 0.2114 0.0099) |
| OKLCH | oklch(56.98% 0.212 2.7) |
| XYZ | xyz(29.8598, 15.9326, 15.6874) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Hot Pink
#D90166
ΔE00 1.91
Deep Pink
#CB0162
ΔE00 3.16
Cerise
#DE0C62
ΔE00 3.59
Dark Pink
#CB416B
ΔE00 4.05
Deep Rose
#C74767
ΔE00 5.71
Raspberry
#E30B5C
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2226C #22D288
analogous
#D222C4 #D2226C #D23022
triadic
#D2226C #6CD222 #226CD2
tetradic
#D2226C #C4D222 #22D288 #3022D2
square
#D2226C #C4D222 #22D288 #3022D2
split-complementary
#D2226C #22D230 #22C4D2
monochromatic
#691136 #9D1951 #D2226C #E24F8D #EB83AF
Accessibility & contrast
On white
5.02
#D2226C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#D2226C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D2226C
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2226C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D2226C | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525A6E
Deuteranopia (green-blind)
#807B68
Tritanopia (blue-blind)
#E50045
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #d2226c; /* rgb */ color: rgb(210, 34, 108); /* oklch */ color: oklch(57.0% 0.212 2.7);
Tailwind
colors: {
custom: {
50: '#e67395',
500: '#d2226c',
950: '#000000',
},
}SCSS
$custom: #d2226c; $custom-light: #e67395; $custom-dark: #000000;
JSON
{
"hex": "#d2226c",
"rgb": {
"r": 210,
"g": 34,
"b": 108
},
"hsl": {
"h": 334.773,
"s": 72.131,
"l": 47.843
},
"oklch": {
"l": 0.56983,
"c": 0.21163,
"h": 2.7
},
"luminance": 0.15928
}Semantic roles & 50–950 ramp
primary
#D2226C
secondary
#7CD4AF
accent
#EFA239
background
#FFF7F9
surface
#FEEEF1
border
#D6C9CB
text
#17090D
muted
#857B7E