#5F1B0D#5F1B0D

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

Color values

HEX#5F1B0D
RGBrgb(95, 27, 13)
HSLhsl(10, 76%, 21%)
HSVhsv(10, 86%, 37%)
CMYKcmyk(0%, 71.6%, 86.3%, 62.7%)
CIE-LABlab(21.01, 30.12, 25.71)
CIE-LCHlch(21.01, 39.60, 40.49°)
OKLaboklab(33.05% 0.0849 0.056)
OKLCHoklch(33.05% 0.102 33.4)
XYZxyz(5.1845, 3.2466, 0.7344)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1B0D #0D515F
analogous
#5F0D28 #5F1B0D #5F440D
triadic
#5F1B0D #0D5F1B #1B0D5F
tetradic
#5F1B0D #285F0D #0D515F #440D5F
square
#5F1B0D #285F0D #0D515F #440D5F
split-complementary
#5F1B0D #0D5F44 #0D285F
monochromatic
#1B0804 #290C06 #5F1B0D #952A14 #CB3A1C

Accessibility & contrast

On white

12.73
#5F1B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5F1B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1B0D
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1B0D#FFFFFF#000000##FFFFFF
##5F1B0D1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290B
Deuteranopia (green-blind)
#40380A
Tritanopia (blue-blind)
#690618
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1b0d;
/* rgb */ color: rgb(95, 27, 13);
/* oklch */ color: oklch(33.0% 0.102 33.4);
Tailwind
colors: {
  custom: {
    50: '#935c4d',
    500: '#5f1b0d',
    950: '#000000',
  },
}
SCSS
$custom: #5f1b0d;
$custom-light: #935c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1b0d",
  "rgb": {
    "r": 95,
    "g": 27,
    "b": 13
  },
  "hsl": {
    "h": 10.244,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33049,
    "c": 0.10173,
    "h": 33.4
  },
  "luminance": 0.03246
}

Semantic roles & 50–950 ramp

primary
#5F1B0D
secondary
#2F8799
accent
#D2F335
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F1B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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