#5A182C#5A182C
#5A182C is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.098 H 6.0°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5A182C |
|---|---|
| RGB | rgb(90, 24, 44) |
| HSL | hsl(342, 58%, 22%) |
| HSV | hsv(342, 73%, 35%) |
| CMYK | cmyk(0%, 73.3%, 51.1%, 64.7%) |
| CIE-LAB | lab(20.08, 31.80, 3.89) |
| CIE-LCH | lch(20.08, 32.04, 6.97°) |
| OKLab | oklab(32.36% 0.097 0.0102) |
| OKLCH | oklch(32.36% 0.098 6) |
| XYZ | xyz(4.9981, 3.0094, 2.7001) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.23
Maroon (survey)
#650021
ΔE00 5.32
Merlot
#730039
ΔE00 6.48
Bordeaux
#7B002C
ΔE00 7.61
Wine
#722F37
ΔE00 7.64
Wine (survey)
#80013F
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A182C #185A46
analogous
#5A184D #5A182C #5A2518
triadic
#5A182C #2C5A18 #182C5A
tetradic
#5A182C #4D5A18 #185A46 #25185A
square
#5A182C #4D5A18 #185A46 #25185A
split-complementary
#5A182C #185A25 #184D5A
monochromatic
#18060C #2A0B14 #5A182C #8A2544 #BB325B
Accessibility & contrast
On white
13.11
#5A182C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5A182C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A182C
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A182C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A182C | 1.00 | 13.11 | 1.60 | 13.11 |
| #FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27282C
Deuteranopia (green-blind)
#38352A
Tritanopia (blue-blind)
#620D20
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5a182c; /* rgb */ color: rgb(90, 24, 44); /* oklch */ color: oklch(32.4% 0.098 6.0);
Tailwind
colors: {
custom: {
50: '#8d5a64',
500: '#5a182c',
950: '#000000',
},
}SCSS
$custom: #5a182c; $custom-light: #8d5a64; $custom-dark: #000000;
JSON
{
"hex": "#5a182c",
"rgb": {
"r": 90,
"g": 24,
"b": 44
},
"hsl": {
"h": 341.818,
"s": 57.895,
"l": 22.353
},
"oklch": {
"l": 0.32363,
"c": 0.09753,
"h": 6
},
"luminance": 0.03009
}Semantic roles & 50–950 ramp
primary
#5A182C
secondary
#3D9177
accent
#E1B247
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A