#52142A#52142A
#52142A is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.3% C 0.094 H 3.0°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).
Color values
| HEX | #52142A |
|---|---|
| RGB | rgb(82, 20, 42) |
| HSL | hsl(339, 61%, 20%) |
| HSV | hsv(339, 76%, 32%) |
| CMYK | cmyk(0%, 75.6%, 48.8%, 67.8%) |
| CIE-LAB | lab(17.75, 30.59, 1.74) |
| CIE-LCH | lch(17.75, 30.64, 3.26°) |
| OKLab | oklab(30.31% 0.0936 0.0048) |
| OKLCH | oklch(30.31% 0.094 3) |
| XYZ | xyz(4.1481, 2.4618, 2.4468) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.36
Maroon (survey)
#650021
ΔE00 6.73
Merlot
#730039
ΔE00 7.32
Plum (survey)
#580F41
ΔE00 8.10
Dark Plum
#3F012C
ΔE00 8.24
Dark Maroon
#3C0008
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52142A #14523C
analogous
#521449 #52142A #521D14
triadic
#52142A #2A5214 #142A52
tetradic
#52142A #495214 #14523C #1D1452
square
#52142A #495214 #14523C #1D1452
split-complementary
#52142A #14521D #144952
monochromatic
#19060D #210811 #52142A #832043 #B42C5C
Accessibility & contrast
On white
14.07
#52142A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#52142A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52142A
14.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52142A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52142A | 1.00 | 14.07 | 1.49 | 14.07 |
| #FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21242B
Deuteranopia (green-blind)
#323029
Tritanopia (blue-blind)
#5A0B1D
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #52142a; /* rgb */ color: rgb(82, 20, 42); /* oklch */ color: oklch(30.3% 0.094 3.0);
Tailwind
colors: {
custom: {
50: '#865763',
500: '#52142a',
950: '#000000',
},
}SCSS
$custom: #52142a; $custom-light: #865763; $custom-dark: #000000;
JSON
{
"hex": "#52142a",
"rgb": {
"r": 82,
"g": 20,
"b": 42
},
"hsl": {
"h": 338.71,
"s": 60.784,
"l": 20
},
"oklch": {
"l": 0.30308,
"c": 0.09368,
"h": 3
},
"luminance": 0.02461
}Semantic roles & 50–950 ramp
primary
#52142A
secondary
#388A6D
accent
#E4AB44
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879