#5A1710#5A1710

#5A1710 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.099 H 29.6°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#5A1710
RGBrgb(90, 23, 16)
HSLhsl(6, 70%, 21%)
HSVhsv(6, 82%, 35%)
CMYKcmyk(0%, 74.4%, 82.2%, 64.7%)
CIE-LABlab(19.33, 30.16, 21.99)
CIE-LCHlch(19.33, 37.33, 36.10°)
OKLaboklab(31.61% 0.0863 0.0491)
OKLCHoklch(31.61% 0.099 29.6)
XYZxyz(4.6169, 2.8246, 0.7922)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1710 #10535A
analogous
#5A102E #5A1710 #5A3C10
triadic
#5A1710 #105A17 #17105A
tetradic
#5A1710 #2E5A10 #10535A #3C105A
square
#5A1710 #2E5A10 #10535A #3C105A
split-complementary
#5A1710 #105A3C #102E5A
monochromatic
#1A0705 #260A07 #5A1710 #8E2419 #C23222

Accessibility & contrast

On white

13.42
#5A1710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5A1710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1710
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1710#FFFFFF#000000##FFFFFF
##5A17101.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A260F
Deuteranopia (green-blind)
#3B340D
Tritanopia (blue-blind)
#640216
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1710;
/* rgb */ color: rgb(90, 23, 16);
/* oklch */ color: oklch(31.6% 0.099 29.6);
Tailwind
colors: {
  custom: {
    50: '#8f594e',
    500: '#5a1710',
    950: '#000000',
  },
}
SCSS
$custom: #5a1710;
$custom-light: #8f594e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1710",
  "rgb": {
    "r": 90,
    "g": 23,
    "b": 16
  },
  "hsl": {
    "h": 5.676,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3161,
    "c": 0.09929,
    "h": 29.6
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#5A1710
secondary
#338A93
accent
#DCED3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5A1710

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

Preview Lab → · Contrast checker → · Palette generator →

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