#5F1812#5F1812

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

Color values

HEX#5F1812
RGBrgb(95, 24, 18)
HSLhsl(5, 68%, 22%)
HSVhsv(5, 81%, 37%)
CMYKcmyk(0%, 74.7%, 81.1%, 62.7%)
CIE-LABlab(20.56, 31.69, 22.50)
CIE-LCHlch(20.56, 38.87, 35.38°)
OKLaboklab(32.73% 0.0909 0.0501)
OKLCHoklch(32.73% 0.104 28.8)
XYZxyz(5.1557, 3.1306, 0.9049)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1812 #12595F
analogous
#5F1233 #5F1812 #5F3F12
triadic
#5F1812 #125F18 #18125F
tetradic
#5F1812 #335F12 #12595F #3F125F
square
#5F1812 #335F12 #12595F #3F125F
split-complementary
#5F1812 #125F3F #12335F
monochromatic
#1A0605 #2C0B08 #5F1812 #92251C #C63225

Accessibility & contrast

On white

12.92
#5F1812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1812
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1812#FFFFFF#000000##FFFFFF
##5F18121.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2811
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#690117
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1812;
/* rgb */ color: rgb(95, 24, 18);
/* oklch */ color: oklch(32.7% 0.104 28.8);
Tailwind
colors: {
  custom: {
    50: '#935a50',
    500: '#5f1812',
    950: '#000000',
  },
}
SCSS
$custom: #5f1812;
$custom-light: #935a50;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1812",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 4.675,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32733,
    "c": 0.1038,
    "h": 28.8
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#5F1812
secondary
#369097
accent
#DDEB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1812

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

Preview Lab → · Contrast checker → · Palette generator →

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