#5F1813#5F1813

#5F1813 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.7% C 0.104 H 28.2°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#5F1813
RGBrgb(95, 24, 19)
HSLhsl(4, 67%, 22%)
HSVhsv(4, 80%, 37%)
CMYKcmyk(0%, 74.7%, 80%, 62.7%)
CIE-LABlab(20.57, 31.73, 21.90)
CIE-LCHlch(20.57, 38.55, 34.61°)
OKLaboklab(32.75% 0.0913 0.049)
OKLCHoklch(32.75% 0.104 28.2)
XYZxyz(5.1641, 3.1340, 0.9490)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1813 #135A5F
analogous
#5F1334 #5F1813 #5F3E13
triadic
#5F1813 #135F18 #18135F
tetradic
#5F1813 #345F13 #135A5F #3E135F
square
#5F1813 #345F13 #135A5F #3E135F
split-complementary
#5F1813 #135F3E #13345F
monochromatic
#1A0605 #2C0B09 #5F1813 #92251D #C53227

Accessibility & contrast

On white

12.91
#5F1813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F1813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1813
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1813#FFFFFF#000000##FFFFFF
##5F18131.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2812
Deuteranopia (green-blind)
#3E3710
Tritanopia (blue-blind)
#690217
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1813;
/* rgb */ color: rgb(95, 24, 19);
/* oklch */ color: oklch(32.7% 0.104 28.2);
Tailwind
colors: {
  custom: {
    50: '#935a51',
    500: '#5f1813',
    950: '#000000',
  },
}
SCSS
$custom: #5f1813;
$custom-light: #935a51;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1813",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 19
  },
  "hsl": {
    "h": 3.947,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32746,
    "c": 0.10362,
    "h": 28.2
  },
  "luminance": 0.03133
}

Semantic roles & 50–950 ramp

primary
#5F1813
secondary
#379197
accent
#DEEA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1813

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

Preview Lab → · Contrast checker → · Palette generator →

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