#5D210F#5D210F

#5D210F is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.6% C 0.093 H 37.0°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#5D210F
RGBrgb(93, 33, 15)
HSLhsl(14, 72%, 21%)
HSVhsv(14, 84%, 36%)
CMYKcmyk(0%, 64.5%, 83.9%, 63.5%)
CIE-LABlab(21.76, 26.37, 25.41)
CIE-LCHlch(21.76, 36.62, 43.94°)
OKLaboklab(33.55% 0.074 0.0557)
OKLCHoklch(33.55% 0.093 37)
XYZxyz(5.1448, 3.4501, 0.8469)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D210F #0F4B5D
analogous
#5D0F24 #5D210F #5D480F
triadic
#5D210F #0F5D21 #210F5D
tetradic
#5D210F #245D0F #0F4B5D #480F5D
square
#5D210F #245D0F #0F4B5D #480F5D
split-complementary
#5D210F #0F5D48 #0F245D
monochromatic
#1A0904 #280E06 #5D210F #923417 #C64620

Accessibility & contrast

On white

12.43
#5D210F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5D210F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D210F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D210F#FFFFFF#000000##FFFFFF
##5D210F1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0D
Deuteranopia (green-blind)
#41390D
Tritanopia (blue-blind)
#67131D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d210f;
/* rgb */ color: rgb(93, 33, 15);
/* oklch */ color: oklch(33.6% 0.093 37.0);
Tailwind
colors: {
  custom: {
    50: '#915f4e',
    500: '#5d210f',
    950: '#000000',
  },
}
SCSS
$custom: #5d210f;
$custom-light: #915f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d210f",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 15
  },
  "hsl": {
    "h": 13.846,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33552,
    "c": 0.09261,
    "h": 37
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#5D210F
secondary
#317F96
accent
#C5EF39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0501
muted
#7E7977

Preview Lab

Preview with #5D210F

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

Preview Lab → · Contrast checker → · Palette generator →

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