#5F210F#5F210F

#5F210F is a dark, moderate red. Relative luminance 0.036; OKLCH L 33.9% C 0.095 H 36.6°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#5F210F
RGBrgb(95, 33, 15)
HSLhsl(14, 73%, 22%)
HSVhsv(14, 84%, 37%)
CMYKcmyk(0%, 65.3%, 84.2%, 62.7%)
CIE-LABlab(22.14, 27.20, 25.93)
CIE-LCHlch(22.14, 37.58, 43.63°)
OKLaboklab(33.91% 0.0763 0.0567)
OKLCHoklch(33.91% 0.095 36.6)
XYZxyz(5.3500, 3.5558, 0.8565)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F210F #0F4D5F
analogous
#5F0F25 #5F210F #5F490F
triadic
#5F210F #0F5F21 #210F5F
tetradic
#5F210F #255F0F #0F4D5F #490F5F
square
#5F210F #255F0F #0F4D5F #490F5F
split-complementary
#5F210F #0F5F49 #0F255F
monochromatic
#1A0904 #2A0F07 #5F210F #943317 #C94620

Accessibility & contrast

On white

12.27
#5F210F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5F210F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F210F
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F210F#FFFFFF#000000##FFFFFF
##5F210F1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0D
Deuteranopia (green-blind)
#423A0D
Tritanopia (blue-blind)
#69121D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f210f;
/* rgb */ color: rgb(95, 33, 15);
/* oklch */ color: oklch(33.9% 0.095 36.6);
Tailwind
colors: {
  custom: {
    50: '#935f4e',
    500: '#5f210f',
    950: '#000000',
  },
}
SCSS
$custom: #5f210f;
$custom-light: #935f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f210f",
  "rgb": {
    "r": 95,
    "g": 33,
    "b": 15
  },
  "hsl": {
    "h": 13.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33914,
    "c": 0.09506,
    "h": 36.6
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#5F210F
secondary
#328198
accent
#C6EF38
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0502
muted
#7E7978

Preview Lab

Preview with #5F210F

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

Preview Lab → · Contrast checker → · Palette generator →

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