#5A201E#5A201E

#5A201E is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.1% C 0.086 H 24.9°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#5A201E
RGBrgb(90, 32, 30)
HSLhsl(2, 50%, 24%)
HSVhsv(2, 67%, 35%)
CMYKcmyk(0%, 64.4%, 66.7%, 64.7%)
CIE-LABlab(21.21, 26.55, 15.13)
CIE-LCHlch(21.21, 30.56, 29.68°)
OKLaboklab(33.1% 0.0782 0.0363)
OKLCHoklch(33.1% 0.086 24.9)
XYZxyz(4.9678, 3.3011, 1.6036)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A201E #1E585A
analogous
#5A1E3A #5A201E #5A3E1E
triadic
#5A201E #1E5A20 #201E5A
tetradic
#5A201E #3A5A1E #1E585A #3E1E5A
square
#5A201E #3A5A1E #1E585A #3E1E5A
split-complementary
#5A201E #1E5A3E #1E3A5A
monochromatic
#170808 #2C100F #5A201E #88302D #B6413D

Accessibility & contrast

On white

12.65
#5A201E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5A201E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A201E
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A201E#FFFFFF#000000##FFFFFF
##5A201E1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1D
Deuteranopia (green-blind)
#3D381D
Tritanopia (blue-blind)
#631520
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a201e;
/* rgb */ color: rgb(90, 32, 30);
/* oklch */ color: oklch(33.1% 0.086 24.9);
Tailwind
colors: {
  custom: {
    50: '#8d5e59',
    500: '#5a201e',
    950: '#000000',
  },
}
SCSS
$custom: #5a201e;
$custom-light: #8d5e59;
$custom-dark: #000000;
JSON
{
  "hex": "#5a201e",
  "rgb": {
    "r": 90,
    "g": 32,
    "b": 30
  },
  "hsl": {
    "h": 2,
    "s": 50,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33097,
    "c": 0.08617,
    "h": 24.9
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#5A201E
secondary
#458C8F
accent
#D5DA4E
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5A201E

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

Preview Lab → · Contrast checker → · Palette generator →

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