#5F1820#5F1820

#5F1820 is a dark, moderate red. Relative luminance 0.032; OKLCH L 33.0% C 0.102 H 18.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#5F1820
RGBrgb(95, 24, 32)
HSLhsl(353, 60%, 23%)
HSVhsv(353, 75%, 37%)
CMYKcmyk(0%, 74.7%, 66.3%, 62.7%)
CIE-LABlab(20.79, 32.51, 13.42)
CIE-LCHlch(20.79, 35.18, 22.43°)
OKLaboklab(32.98% 0.0968 0.0325)
OKLCHoklch(32.98% 0.102 18.5)
XYZxyz(5.3072, 3.1912, 1.7027)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1820 #185F57
analogous
#5F1843 #5F1820 #5F3318
triadic
#5F1820 #205F18 #18205F
tetradic
#5F1820 #435F18 #185F57 #33185F
square
#5F1820 #435F18 #185F57 #33185F
split-complementary
#5F1820 #185F33 #18435F
monochromatic
#180608 #2E0C10 #5F1820 #902430 #C13141

Accessibility & contrast

On white

12.82
#5F1820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F1820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1820
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1820#FFFFFF#000000##FFFFFF
##5F18201.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2920
Deuteranopia (green-blind)
#3D381E
Tritanopia (blue-blind)
#69051B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1820;
/* rgb */ color: rgb(95, 24, 32);
/* oklch */ color: oklch(33.0% 0.102 18.5);
Tailwind
colors: {
  custom: {
    50: '#925a5b',
    500: '#5f1820',
    950: '#000000',
  },
}
SCSS
$custom: #5f1820;
$custom-light: #925a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1820",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 32
  },
  "hsl": {
    "h": 353.239,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32983,
    "c": 0.10208,
    "h": 18.5
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#5F1820
secondary
#3D958B
accent
#E3D145
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5F1820

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

Preview Lab → · Contrast checker → · Palette generator →

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