#5F2020#5F2020

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

Color values

HEX#5F2020
RGBrgb(95, 32, 32)
HSLhsl(0, 50%, 25%)
HSVhsv(0, 66%, 37%)
CMYKcmyk(0%, 66.3%, 66.3%, 62.7%)
CIE-LABlab(22.20, 28.71, 15.23)
CIE-LCHlch(22.20, 32.50, 27.95°)
OKLaboklab(34.03% 0.0847 0.0366)
OKLCHoklch(34.03% 0.092 23.4)
XYZxyz(5.4971, 3.5709, 1.7660)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2020 #205F5F
analogous
#5F2040 #5F2020 #5F4020
triadic
#5F2020 #205F20 #20205F
tetradic
#5F2020 #405F20 #205F5F #40205F
square
#5F2020 #405F20 #205F5F #40205F
split-complementary
#5F2020 #205F40 #20405F
monochromatic
#170808 #311111 #5F2020 #8D2F2F #BB3F3F

Accessibility & contrast

On white

12.25
#5F2020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F2020
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2020#FFFFFF#000000##FFFFFF
##5F20201.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D1F
Deuteranopia (green-blind)
#403A1E
Tritanopia (blue-blind)
#691321
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f2020;
/* rgb */ color: rgb(95, 32, 32);
/* oklch */ color: oklch(34.0% 0.092 23.4);
Tailwind
colors: {
  custom: {
    50: '#915f5b',
    500: '#5f2020',
    950: '#000000',
  },
}
SCSS
$custom: #5f2020;
$custom-light: #915f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2020",
  "rgb": {
    "r": 95,
    "g": 32,
    "b": 32
  },
  "hsl": {
    "h": 0,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34034,
    "c": 0.09228,
    "h": 23.4
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#5F2020
secondary
#479393
accent
#D9D94F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0504
muted
#7E7979

Preview Lab

Preview with #5F2020

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

Preview Lab → · Contrast checker → · Palette generator →

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