#5A2010#5A2010

#5A2010 is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.9% C 0.090 H 36.2°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#5A2010
RGBrgb(90, 32, 16)
HSLhsl(13, 70%, 21%)
HSVhsv(13, 82%, 35%)
CMYKcmyk(0%, 64.4%, 82.2%, 64.7%)
CIE-LABlab(21.00, 25.68, 23.87)
CIE-LCHlch(21.00, 35.06, 42.91°)
OKLaboklab(32.87% 0.0724 0.0529)
OKLCHoklch(32.87% 0.09 36.2)
XYZxyz(4.8270, 3.2448, 0.8622)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2010 #104A5A
analogous
#5A1025 #5A2010 #5A4510
triadic
#5A2010 #105A20 #20105A
tetradic
#5A2010 #255A10 #104A5A #45105A
square
#5A2010 #255A10 #104A5A #45105A
split-complementary
#5A2010 #105A45 #10255A
monochromatic
#1A0905 #260E07 #5A2010 #8E3219 #C24522

Accessibility & contrast

On white

12.74
#5A2010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5A2010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2010
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2010#FFFFFF#000000##FFFFFF
##5A20101.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0E
Deuteranopia (green-blind)
#3E370E
Tritanopia (blue-blind)
#64121D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a2010;
/* rgb */ color: rgb(90, 32, 16);
/* oklch */ color: oklch(32.9% 0.090 36.2);
Tailwind
colors: {
  custom: {
    50: '#8e5e4f',
    500: '#5a2010',
    950: '#000000',
  },
}
SCSS
$custom: #5a2010;
$custom-light: #8e5e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2010",
  "rgb": {
    "r": 90,
    "g": 32,
    "b": 16
  },
  "hsl": {
    "h": 12.973,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32868,
    "c": 0.08967,
    "h": 36.2
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#5A2010
secondary
#337E93
accent
#C6ED3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5A2010

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

Preview Lab → · Contrast checker → · Palette generator →

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