#5F1D13#5F1D13

#5F1D13 is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.4% C 0.098 H 31.3°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#5F1D13
RGBrgb(95, 29, 19)
HSLhsl(8, 67%, 22%)
HSVhsv(8, 80%, 37%)
CMYKcmyk(0%, 69.5%, 80%, 62.7%)
CIE-LABlab(21.43, 29.41, 22.84)
CIE-LCHlch(21.43, 37.24, 37.83°)
OKLaboklab(33.39% 0.084 0.051)
OKLCHoklch(33.39% 0.098 31.3)
XYZxyz(5.2768, 3.3594, 0.9865)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1D13 #13555F
analogous
#5F132F #5F1D13 #5F4313
triadic
#5F1D13 #135F1D #1D135F
tetradic
#5F1D13 #2F5F13 #13555F #43135F
square
#5F1D13 #2F5F13 #13555F #43135F
split-complementary
#5F1D13 #135F43 #132F5F
monochromatic
#1A0805 #2C0D09 #5F1D13 #922D1D #C53C27

Accessibility & contrast

On white

12.56
#5F1D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F1D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1D13
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1D13#FFFFFF#000000##FFFFFF
##5F1D131.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A11
Deuteranopia (green-blind)
#403911
Tritanopia (blue-blind)
#690B1B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1d13;
/* rgb */ color: rgb(95, 29, 19);
/* oklch */ color: oklch(33.4% 0.098 31.3);
Tailwind
colors: {
  custom: {
    50: '#935d51',
    500: '#5f1d13',
    950: '#000000',
  },
}
SCSS
$custom: #5f1d13;
$custom-light: #935d51;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1d13",
  "rgb": {
    "r": 95,
    "g": 29,
    "b": 19
  },
  "hsl": {
    "h": 7.895,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33389,
    "c": 0.09831,
    "h": 31.3
  },
  "luminance": 0.03359
}

Semantic roles & 50–950 ramp

primary
#5F1D13
secondary
#378A97
accent
#D3EA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1D13

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

Preview Lab → · Contrast checker → · Palette generator →

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