#5A182B#5A182B
#5A182B is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.097 H 7.0°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5A182B |
|---|---|
| RGB | rgb(90, 24, 43) |
| HSL | hsl(343, 58%, 22%) |
| HSV | hsv(343, 73%, 35%) |
| CMYK | cmyk(0%, 73.3%, 52.2%, 64.7%) |
| CIE-LAB | lab(20.05, 31.69, 4.55) |
| CIE-LCH | lch(20.05, 32.02, 8.17°) |
| OKLab | oklab(32.33% 0.0966 0.0119) |
| OKLCH | oklch(32.33% 0.097 7) |
| XYZ | xyz(4.9795, 3.0020, 2.6023) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.06
Maroon (survey)
#650021
ΔE00 5.05
Merlot
#730039
ΔE00 6.69
Wine
#722F37
ΔE00 7.45
Bordeaux
#7B002C
ΔE00 7.47
Claret
#680018
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A182B #185A47
analogous
#5A184C #5A182B #5A2618
triadic
#5A182B #2B5A18 #182B5A
tetradic
#5A182B #4C5A18 #185A47 #26185A
square
#5A182B #4C5A18 #185A47 #26185A
split-complementary
#5A182B #185A26 #184C5A
monochromatic
#18060C #2A0B14 #5A182B #8A2542 #BB3259
Accessibility & contrast
On white
13.12
#5A182B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5A182B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A182B
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A182B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A182B | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27282B
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#620D20
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5a182b; /* rgb */ color: rgb(90, 24, 43); /* oklch */ color: oklch(32.3% 0.097 7.0);
Tailwind
colors: {
custom: {
50: '#8d5a64',
500: '#5a182b',
950: '#000000',
},
}SCSS
$custom: #5a182b; $custom-light: #8d5a64; $custom-dark: #000000;
JSON
{
"hex": "#5a182b",
"rgb": {
"r": 90,
"g": 24,
"b": 43
},
"hsl": {
"h": 342.727,
"s": 57.895,
"l": 22.353
},
"oklch": {
"l": 0.32331,
"c": 0.09729,
"h": 7
},
"luminance": 0.03001
}Semantic roles & 50–950 ramp
primary
#5A182B
secondary
#3D9179
accent
#E1B547
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979