#5A1D10#5A1D10

#5A1D10 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.4% C 0.093 H 33.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#5A1D10
RGBrgb(90, 29, 16)
HSLhsl(11, 70%, 21%)
HSVhsv(11, 82%, 35%)
CMYKcmyk(0%, 67.8%, 82.2%, 64.7%)
CIE-LABlab(20.40, 27.26, 23.21)
CIE-LCHlch(20.40, 35.80, 40.41°)
OKLaboklab(32.42% 0.0773 0.0516)
OKLCHoklch(32.42% 0.093 33.7)
XYZxyz(4.7499, 3.0905, 0.8365)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1D10 #104D5A
analogous
#5A1028 #5A1D10 #5A4210
triadic
#5A1D10 #105A1D #1D105A
tetradic
#5A1D10 #285A10 #104D5A #42105A
square
#5A1D10 #285A10 #104D5A #42105A
split-complementary
#5A1D10 #105A42 #10285A
monochromatic
#1A0805 #260C07 #5A1D10 #8E2E19 #C23E22

Accessibility & contrast

On white

12.98
#5A1D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5A1D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1D10
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1D10#FFFFFF#000000##FFFFFF
##5A1D101.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E290E
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#640D1A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a1d10;
/* rgb */ color: rgb(90, 29, 16);
/* oklch */ color: oklch(32.4% 0.093 33.7);
Tailwind
colors: {
  custom: {
    50: '#8f5c4f',
    500: '#5a1d10',
    950: '#000000',
  },
}
SCSS
$custom: #5a1d10;
$custom-light: #8f5c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1d10",
  "rgb": {
    "r": 90,
    "g": 29,
    "b": 16
  },
  "hsl": {
    "h": 10.541,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32418,
    "c": 0.0929,
    "h": 33.7
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#5A1D10
secondary
#338293
accent
#CDED3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5A1D10

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5A1D10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva