#521828#521828
#521828 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.087 H 7.0°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #521828 |
|---|---|
| RGB | rgb(82, 24, 40) |
| HSL | hsl(343, 55%, 21%) |
| HSV | hsv(343, 71%, 32%) |
| CMYK | cmyk(0%, 70.7%, 51.2%, 67.8%) |
| CIE-LAB | lab(18.37, 28.48, 4.06) |
| CIE-LCH | lch(18.37, 28.77, 8.12°) |
| OKLab | oklab(30.75% 0.0867 0.0107) |
| OKLCH | oklch(30.75% 0.087 7) |
| XYZ | xyz(4.1896, 2.6008, 2.2885) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.24
Maroon (survey)
#650021
ΔE00 6.25
Dark Maroon
#3C0008
ΔE00 7.52
Merlot
#730039
ΔE00 8.23
Wine
#722F37
ΔE00 8.54
Claret
#680018
ΔE00 9.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521828 #185242
analogous
#521845 #521828 #522518
triadic
#521828 #285218 #182852
tetradic
#521828 #455218 #185242 #251852
square
#521828 #455218 #185242 #251852
split-complementary
#521828 #185225 #184552
monochromatic
#18070C #230A11 #521828 #81263F #B13456
Accessibility & contrast
On white
13.82
#521828 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#521828 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521828
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521828 | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252628
Deuteranopia (green-blind)
#343127
Tritanopia (blue-blind)
#5A101E
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #521828; /* rgb */ color: rgb(82, 24, 40); /* oklch */ color: oklch(30.8% 0.087 7.0);
Tailwind
colors: {
custom: {
50: '#865961',
500: '#521828',
950: '#000000',
},
}SCSS
$custom: #521828; $custom-light: #865961; $custom-dark: #000000;
JSON
{
"hex": "#521828",
"rgb": {
"r": 82,
"g": 24,
"b": 40
},
"hsl": {
"h": 343.448,
"s": 54.717,
"l": 20.784
},
"oklch": {
"l": 0.30751,
"c": 0.08739,
"h": 7
},
"luminance": 0.026
}Semantic roles & 50–950 ramp
primary
#521828
secondary
#3D8974
accent
#DEB54A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0405
muted
#7D7979