#5A2015#5A2015

#5A2015 is a dark, moderate red. Relative luminance 0.033; OKLCH L 32.9% C 0.088 H 32.7°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#5A2015
RGBrgb(90, 32, 21)
HSLhsl(10, 62%, 22%)
HSVhsv(10, 77%, 35%)
CMYKcmyk(0%, 64.4%, 76.7%, 64.7%)
CIE-LABlab(21.06, 25.94, 20.90)
CIE-LCHlch(21.06, 33.31, 38.85°)
OKLaboklab(32.94% 0.0743 0.0476)
OKLCHoklch(32.94% 0.088 32.7)
XYZxyz(4.8688, 3.2615, 1.0825)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2015 #154F5A
analogous
#5A152D #5A2015 #5A4315
triadic
#5A2015 #155A20 #20155A
tetradic
#5A2015 #2D5A15 #154F5A #43155A
square
#5A2015 #2D5A15 #154F5A #43155A
split-complementary
#5A2015 #155A43 #152D5A
monochromatic
#190906 #280E09 #5A2015 #8C3221 #BD432C

Accessibility & contrast

On white

12.71
#5A2015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A2015
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2015#FFFFFF#000000##FFFFFF
##5A20151.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B14
Deuteranopia (green-blind)
#3E3713
Tritanopia (blue-blind)
#63131E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a2015;
/* rgb */ color: rgb(90, 32, 21);
/* oklch */ color: oklch(32.9% 0.088 32.7);
Tailwind
colors: {
  custom: {
    50: '#8e5e52',
    500: '#5a2015',
    950: '#000000',
  },
}
SCSS
$custom: #5a2015;
$custom-light: #8e5e52;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2015",
  "rgb": {
    "r": 90,
    "g": 32,
    "b": 21
  },
  "hsl": {
    "h": 9.565,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32936,
    "c": 0.08826,
    "h": 32.7
  },
  "luminance": 0.03261
}

Semantic roles & 50–950 ramp

primary
#5A2015
secondary
#398392
accent
#CBE543
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5A2015

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

Preview Lab → · Contrast checker → · Palette generator →

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