#52223F#52223F
#52223F is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.1% C 0.082 H 345.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).
Color values
| HEX | #52223F |
|---|---|
| RGB | rgb(82, 34, 63) |
| HSL | hsl(324, 41%, 23%) |
| HSV | hsv(324, 59%, 32%) |
| CMYK | cmyk(0%, 58.5%, 23.2%, 67.8%) |
| CIE-LAB | lab(21.20, 26.38, -7.86) |
| CIE-LCH | lch(21.20, 27.52, 343.42°) |
| OKLab | oklab(33.13% 0.0789 -0.0208) |
| OKLCH | oklch(33.13% 0.082 345.2) |
| XYZ | xyz(4.9490, 3.2972, 5.0774) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 4.97
Grape Purple
#5D1451
ΔE00 7.09
Dark Plum
#3F012C
ΔE00 7.36
Aubergine
#3D0734
ΔE00 7.37
Grape
#6C3461
ΔE00 8.28
Eggplant
#380835
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52223F #225235
analogous
#4D2252 #52223F #522227
triadic
#52223F #3F5222 #223F52
tetradic
#52223F #524D22 #225235 #222752
square
#52223F #524D22 #225235 #222752
split-complementary
#52223F #275222 #22524D
monochromatic
#160911 #27101E #52223F #7D3460 #A94681
Accessibility & contrast
On white
12.66
#52223F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#52223F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52223F
12.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52223F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52223F | 1.00 | 12.66 | 1.66 | 12.66 |
| #FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262E40
Deuteranopia (green-blind)
#33363E
Tritanopia (blue-blind)
#57222D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #52223f; /* rgb */ color: rgb(82, 34, 63); /* oklch */ color: oklch(33.1% 0.082 345.2);
Tailwind
colors: {
custom: {
50: '#845f74',
500: '#52223f',
950: '#000000',
},
}SCSS
$custom: #52223f; $custom-light: #845f74; $custom-dark: #000000;
JSON
{
"hex": "#52223f",
"rgb": {
"r": 82,
"g": 34,
"b": 63
},
"hsl": {
"h": 323.75,
"s": 41.379,
"l": 22.745
},
"oklch": {
"l": 0.3313,
"c": 0.0816,
"h": 345.2
},
"luminance": 0.03297
}Semantic roles & 50–950 ramp
primary
#52223F
secondary
#4A8662
accent
#D18757
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0508
muted
#7C797B