#5A210F#5A210F

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

Color values

HEX#5A210F
RGBrgb(90, 33, 15)
HSLhsl(14, 71%, 21%)
HSVhsv(14, 83%, 35%)
CMYKcmyk(0%, 63.3%, 83.3%, 64.7%)
CIE-LABlab(21.19, 25.10, 24.63)
CIE-LCHlch(21.19, 35.16, 44.46°)
OKLaboklab(33.01% 0.0704 0.0543)
OKLCHoklch(33.01% 0.089 37.7)
XYZxyz(4.8470, 3.2965, 0.8329)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A210F #0F485A
analogous
#5A0F22 #5A210F #5A460F
triadic
#5A210F #0F5A21 #210F5A
tetradic
#5A210F #225A0F #0F485A #460F5A
square
#5A210F #225A0F #0F485A #460F5A
split-complementary
#5A210F #0F5A46 #0F225A
monochromatic
#1A0A04 #260E06 #5A210F #8E3418 #C34720

Accessibility & contrast

On white

12.66
#5A210F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A210F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A210F#FFFFFF#000000##FFFFFF
##5A210F1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0D
Deuteranopia (green-blind)
#3F380D
Tritanopia (blue-blind)
#64141D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a210f;
/* rgb */ color: rgb(90, 33, 15);
/* oklch */ color: oklch(33.0% 0.089 37.7);
Tailwind
colors: {
  custom: {
    50: '#8e5e4e',
    500: '#5a210f',
    950: '#000000',
  },
}
SCSS
$custom: #5a210f;
$custom-light: #8e5e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a210f",
  "rgb": {
    "r": 90,
    "g": 33,
    "b": 15
  },
  "hsl": {
    "h": 14.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33013,
    "c": 0.08892,
    "h": 37.7
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#5A210F
secondary
#317C94
accent
#C3EE3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0401
muted
#7E7977

Preview Lab

Preview with #5A210F

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

Preview Lab → · Contrast checker → · Palette generator →

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