#5F201A#5F201A

#5F201A is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.9% C 0.093 H 28.4°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#5F201A
RGBrgb(95, 32, 26)
HSLhsl(5, 57%, 24%)
HSVhsv(5, 73%, 37%)
CMYKcmyk(0%, 66.3%, 72.6%, 62.7%)
CIE-LABlab(22.09, 28.29, 19.10)
CIE-LCHlch(22.09, 34.14, 34.02°)
OKLaboklab(33.92% 0.0821 0.0444)
OKLCHoklch(33.92% 0.093 28.4)
XYZxyz(5.4228, 3.5412, 1.3751)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F201A #1A595F
analogous
#5F1A36 #5F201A #5F421A
triadic
#5F201A #1A5F20 #201A5F
tetradic
#5F201A #365F1A #1A595F #421A5F
square
#5F201A #365F1A #1A595F #421A5F
split-complementary
#5F201A #1A5F42 #1A365F
monochromatic
#180807 #2F100D #5F201A #8F3027 #BF4034

Accessibility & contrast

On white

12.29
#5F201A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F201A
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F201A#FFFFFF#000000##FFFFFF
##5F201A1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C19
Deuteranopia (green-blind)
#413A18
Tritanopia (blue-blind)
#69121F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f201a;
/* rgb */ color: rgb(95, 32, 26);
/* oklch */ color: oklch(33.9% 0.093 28.4);
Tailwind
colors: {
  custom: {
    50: '#925f56',
    500: '#5f201a',
    950: '#000000',
  },
}
SCSS
$custom: #5f201a;
$custom-light: #925f56;
$custom-dark: #000000;
JSON
{
  "hex": "#5f201a",
  "rgb": {
    "r": 95,
    "g": 32,
    "b": 26
  },
  "hsl": {
    "h": 5.217,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3392,
    "c": 0.09336,
    "h": 28.4
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#5F201A
secondary
#408D95
accent
#D3E048
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F201A

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

Preview Lab → · Contrast checker → · Palette generator →

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