#5A2210#5A2210

#5A2210 is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.2% C 0.088 H 38.0°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#5A2210
RGBrgb(90, 34, 16)
HSLhsl(15, 70%, 21%)
HSVhsv(15, 82%, 35%)
CMYKcmyk(0%, 62.2%, 82.2%, 64.7%)
CIE-LABlab(21.42, 24.59, 24.33)
CIE-LCHlch(21.42, 34.59, 44.69°)
OKLaboklab(33.18% 0.069 0.0539)
OKLCHoklch(33.18% 0.088 38)
XYZxyz(4.8825, 3.3558, 0.8807)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2210 #10485A
analogous
#5A1023 #5A2210 #5A4710
triadic
#5A2210 #105A22 #22105A
tetradic
#5A2210 #235A10 #10485A #47105A
square
#5A2210 #235A10 #10485A #47105A
split-complementary
#5A2210 #105A47 #10235A
monochromatic
#1A0A05 #260E07 #5A2210 #8E3619 #C24922

Accessibility & contrast

On white

12.57
#5A2210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5A2210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2210
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2210#FFFFFF#000000##FFFFFF
##5A22101.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0E
Deuteranopia (green-blind)
#3F380E
Tritanopia (blue-blind)
#64151E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a2210;
/* rgb */ color: rgb(90, 34, 16);
/* oklch */ color: oklch(33.2% 0.088 38.0);
Tailwind
colors: {
  custom: {
    50: '#8e5f4f',
    500: '#5a2210',
    950: '#000000',
  },
}
SCSS
$custom: #5a2210;
$custom-light: #8e5f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2210",
  "rgb": {
    "r": 90,
    "g": 34,
    "b": 16
  },
  "hsl": {
    "h": 14.595,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33184,
    "c": 0.08756,
    "h": 38
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#5A2210
secondary
#337C93
accent
#C1ED3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5A2210

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

Preview Lab → · Contrast checker → · Palette generator →

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