#5A2019#5A2019

#5A2019 is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.0% C 0.087 H 29.4°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#5A2019
RGBrgb(90, 32, 25)
HSLhsl(6, 57%, 23%)
HSVhsv(6, 72%, 35%)
CMYKcmyk(0%, 64.4%, 72.2%, 64.7%)
CIE-LABlab(21.12, 26.19, 18.37)
CIE-LCHlch(21.12, 31.99, 35.04°)
OKLaboklab(33% 0.076 0.0429)
OKLCHoklch(33% 0.087 29.4)
XYZxyz(4.9089, 3.2775, 1.2936)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2019 #19535A
analogous
#5A1932 #5A2019 #5A4119
triadic
#5A2019 #195A20 #20195A
tetradic
#5A2019 #325A19 #19535A #41195A
square
#5A2019 #325A19 #19535A #41195A
split-complementary
#5A2019 #195A41 #19325A
monochromatic
#180907 #2A0F0C #5A2019 #8A3126 #BA4234

Accessibility & contrast

On white

12.69
#5A2019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A2019
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2019#FFFFFF#000000##FFFFFF
##5A20191.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B18
Deuteranopia (green-blind)
#3E3717
Tritanopia (blue-blind)
#63141F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a2019;
/* rgb */ color: rgb(90, 32, 25);
/* oklch */ color: oklch(33.0% 0.087 29.4);
Tailwind
colors: {
  custom: {
    50: '#8e5e55',
    500: '#5a2019',
    950: '#000000',
  },
}
SCSS
$custom: #5a2019;
$custom-light: #8e5e55;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2019",
  "rgb": {
    "r": 90,
    "g": 32,
    "b": 25
  },
  "hsl": {
    "h": 6.462,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33001,
    "c": 0.0872,
    "h": 29.4
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#5A2019
secondary
#3E8790
accent
#CFE048
background
#F9F5F5
surface
#F1E9E8
border
#CBC5C4
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5A2019

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

Preview Lab → · Contrast checker → · Palette generator →

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