#5F201F#5F201F

#5F201F is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.0% C 0.092 H 24.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#5F201F
RGBrgb(95, 32, 31)
HSLhsl(1, 51%, 25%)
HSVhsv(1, 67%, 37%)
CMYKcmyk(0%, 66.3%, 67.4%, 62.7%)
CIE-LABlab(22.18, 28.63, 15.88)
CIE-LCHlch(22.18, 32.75, 29.02°)
OKLaboklab(34.01% 0.0843 0.038)
OKLCHoklch(34.01% 0.092 24.2)
XYZxyz(5.4837, 3.5656, 1.6955)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F201F #1F5E5F
analogous
#5F1F3E #5F201F #5F401F
triadic
#5F201F #1F5F20 #201F5F
tetradic
#5F201F #3E5F1F #1F5E5F #401F5F
square
#5F201F #3E5F1F #1F5E5F #401F5F
split-complementary
#5F201F #1F5F40 #1F3E5F
monochromatic
#170808 #311010 #5F201F #8D302E #BB3F3D

Accessibility & contrast

On white

12.26
#5F201F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F201F
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F201F#FFFFFF#000000##FFFFFF
##5F201F1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D1E
Deuteranopia (green-blind)
#403A1D
Tritanopia (blue-blind)
#691320
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f201f;
/* rgb */ color: rgb(95, 32, 31);
/* oklch */ color: oklch(34.0% 0.092 24.2);
Tailwind
colors: {
  custom: {
    50: '#915f5a',
    500: '#5f201f',
    950: '#000000',
  },
}
SCSS
$custom: #5f201f;
$custom-light: #915f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f201f",
  "rgb": {
    "r": 95,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 0.938,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34014,
    "c": 0.09242,
    "h": 24.2
  },
  "luminance": 0.03565
}

Semantic roles & 50–950 ramp

primary
#5F201F
secondary
#469294
accent
#D8DA4E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F201F

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

Preview Lab → · Contrast checker → · Palette generator →

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