#521129#521129
#521129 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.9% C 0.097 H 2.8°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #521129 |
|---|---|
| RGB | rgb(82, 17, 41) |
| HSL | hsl(338, 66%, 19%) |
| HSV | hsv(338, 79%, 32%) |
| CMYK | cmyk(0%, 79.3%, 50%, 67.8%) |
| CIE-LAB | lab(17.25, 31.75, 1.75) |
| CIE-LCH | lch(17.25, 31.80, 3.15°) |
| OKLab | oklab(29.93% 0.0972 0.0048) |
| OKLCH | oklch(29.93% 0.097 2.8) |
| XYZ | xyz(4.0807, 2.3554, 2.3371) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.09
Maroon (survey)
#650021
ΔE00 6.54
Merlot
#730039
ΔE00 7.12
Plum (survey)
#580F41
ΔE00 8.01
Dark Plum
#3F012C
ΔE00 8.03
Dark Maroon
#3C0008
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521129 #11523A
analogous
#52114A #521129 #521911
triadic
#521129 #295211 #112952
tetradic
#521129 #4A5211 #11523A #191152
square
#521129 #4A5211 #11523A #191152
split-complementary
#521129 #115219 #114A52
monochromatic
#19050D #1F0610 #521129 #851C42 #B7265C
Accessibility & contrast
On white
14.28
#521129 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#521129 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521129
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521129 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521129 | 1.00 | 14.28 | 1.47 | 14.28 |
| #FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20222A
Deuteranopia (green-blind)
#312F27
Tritanopia (blue-blind)
#5A061B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #521129; /* rgb */ color: rgb(82, 17, 41); /* oklch */ color: oklch(29.9% 0.097 2.8);
Tailwind
colors: {
custom: {
50: '#865562',
500: '#521129',
950: '#000000',
},
}SCSS
$custom: #521129; $custom-light: #865562; $custom-dark: #000000;
JSON
{
"hex": "#521129",
"rgb": {
"r": 82,
"g": 17,
"b": 41
},
"hsl": {
"h": 337.846,
"s": 65.657,
"l": 19.412
},
"oklch": {
"l": 0.29933,
"c": 0.09736,
"h": 2.8
},
"luminance": 0.02355
}Semantic roles & 50–950 ramp
primary
#521129
secondary
#348B6B
accent
#E9AA3F
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879