#5F1713#5F1713

#5F1713 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.105 H 27.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#5F1713
RGBrgb(95, 23, 19)
HSLhsl(3, 67%, 22%)
HSVhsv(3, 80%, 37%)
CMYKcmyk(0%, 75.8%, 80%, 62.7%)
CIE-LABlab(20.41, 32.17, 21.72)
CIE-LCHlch(20.41, 38.81, 34.03°)
OKLaboklab(32.63% 0.0927 0.0486)
OKLCHoklch(32.63% 0.105 27.7)
XYZxyz(5.1438, 3.0935, 0.9422)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1713 #135B5F
analogous
#5F1335 #5F1713 #5F3D13
triadic
#5F1713 #135F17 #17135F
tetradic
#5F1713 #355F13 #135B5F #3D135F
square
#5F1713 #355F13 #135B5F #3D135F
split-complementary
#5F1713 #135F3D #13355F
monochromatic
#1A0605 #2C0B09 #5F1713 #92231D #C53027

Accessibility & contrast

On white

12.97
#5F1713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F1713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1713
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1713#FFFFFF#000000##FFFFFF
##5F17131.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2712
Deuteranopia (green-blind)
#3E3710
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1713;
/* rgb */ color: rgb(95, 23, 19);
/* oklch */ color: oklch(32.6% 0.105 27.7);
Tailwind
colors: {
  custom: {
    50: '#935a51',
    500: '#5f1713',
    950: '#000000',
  },
}
SCSS
$custom: #5f1713;
$custom-light: #935a51;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1713",
  "rgb": {
    "r": 95,
    "g": 23,
    "b": 19
  },
  "hsl": {
    "h": 3.158,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32628,
    "c": 0.10464,
    "h": 27.7
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#5F1713
secondary
#379297
accent
#E1EA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1713

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

Preview Lab → · Contrast checker → · Palette generator →

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