#5F210E#5F210E

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

Color values

HEX#5F210E
RGBrgb(95, 33, 14)
HSLhsl(14, 74%, 21%)
HSVhsv(14, 85%, 37%)
CMYKcmyk(0%, 65.3%, 85.3%, 62.7%)
CIE-LABlab(22.14, 27.16, 26.44)
CIE-LCHlch(22.14, 37.90, 44.23°)
OKLaboklab(33.9% 0.076 0.0576)
OKLCHoklch(33.9% 0.095 37.1)
XYZxyz(5.3430, 3.5531, 0.8198)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F210E #0E4C5F
analogous
#5F0E24 #5F210E #5F4A0E
triadic
#5F210E #0E5F21 #210E5F
tetradic
#5F210E #245F0E #0E4C5F #4A0E5F
square
#5F210E #245F0E #0E4C5F #4A0E5F
split-complementary
#5F210E #0E5F4A #0E245F
monochromatic
#1B0904 #2A0E06 #5F210E #943416 #CA461E

Accessibility & contrast

On white

12.28
#5F210E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F210E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F210E#FFFFFF#000000##FFFFFF
##5F210E1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C0B
Deuteranopia (green-blind)
#423A0C
Tritanopia (blue-blind)
#69121D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f210e;
/* rgb */ color: rgb(95, 33, 14);
/* oklch */ color: oklch(33.9% 0.095 37.1);
Tailwind
colors: {
  custom: {
    50: '#935f4e',
    500: '#5f210e',
    950: '#000000',
  },
}
SCSS
$custom: #5f210e;
$custom-light: #935f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f210e",
  "rgb": {
    "r": 95,
    "g": 33,
    "b": 14
  },
  "hsl": {
    "h": 14.074,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33903,
    "c": 0.09533,
    "h": 37.1
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#5F210E
secondary
#308099
accent
#C5F137
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0501
muted
#7E7977

Preview Lab

Preview with #5F210E

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

Preview Lab → · Contrast checker → · Palette generator →

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