#5A200F#5A200F

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

Color values

HEX#5A200F
RGBrgb(90, 32, 15)
HSLhsl(14, 71%, 21%)
HSVhsv(14, 83%, 35%)
CMYKcmyk(0%, 64.4%, 83.3%, 64.7%)
CIE-LABlab(20.99, 25.64, 24.40)
CIE-LCHlch(20.99, 35.40, 43.58°)
OKLaboklab(32.86% 0.0721 0.0539)
OKLCHoklch(32.86% 0.09 36.8)
XYZxyz(4.8197, 3.2418, 0.8238)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A200F #0F495A
analogous
#5A0F23 #5A200F #5A450F
triadic
#5A200F #0F5A20 #200F5A
tetradic
#5A200F #235A0F #0F495A #450F5A
square
#5A200F #235A0F #0F495A #450F5A
split-complementary
#5A200F #0F5A45 #0F235A
monochromatic
#1A0904 #260D06 #5A200F #8E3318 #C34520

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A200F#FFFFFF#000000##FFFFFF
##5A200F1.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)
#302A0D
Deuteranopia (green-blind)
#3E370D
Tritanopia (blue-blind)
#64121C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a200f;
/* rgb */ color: rgb(90, 32, 15);
/* oklch */ color: oklch(32.9% 0.090 36.8);
Tailwind
colors: {
  custom: {
    50: '#8e5e4e',
    500: '#5a200f',
    950: '#000000',
  },
}
SCSS
$custom: #5a200f;
$custom-light: #8e5e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a200f",
  "rgb": {
    "r": 90,
    "g": 32,
    "b": 15
  },
  "hsl": {
    "h": 13.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32856,
    "c": 0.08997,
    "h": 36.8
  },
  "luminance": 0.03241
}

Semantic roles & 50–950 ramp

primary
#5A200F
secondary
#317D94
accent
#C5EE3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0401
muted
#7E7977

Preview Lab

Preview with #5A200F

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

Preview Lab → · Contrast checker → · Palette generator →

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