#5F1E12#5F1E12

#5F1E12 is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.5% C 0.097 H 32.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#5F1E12
RGBrgb(95, 30, 18)
HSLhsl(9, 68%, 22%)
HSVhsv(9, 81%, 37%)
CMYKcmyk(0%, 68.4%, 81.1%, 62.7%)
CIE-LABlab(21.60, 28.87, 23.64)
CIE-LCHlch(21.60, 37.31, 39.32°)
OKLaboklab(33.51% 0.0821 0.0525)
OKLCHoklch(33.51% 0.097 32.6)
XYZxyz(5.2933, 3.4059, 0.9508)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1E12 #12535F
analogous
#5F122C #5F1E12 #5F4512
triadic
#5F1E12 #125F1E #1E125F
tetradic
#5F1E12 #2C5F12 #12535F #45125F
square
#5F1E12 #2C5F12 #12535F #45125F
split-complementary
#5F1E12 #125F45 #122C5F
monochromatic
#1A0805 #2C0E08 #5F1E12 #922E1C #C63E25

Accessibility & contrast

On white

12.49
#5F1E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5F1E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1E12
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1E12#FFFFFF#000000##FFFFFF
##5F1E121.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B10
Deuteranopia (green-blind)
#403910
Tritanopia (blue-blind)
#690D1C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1e12;
/* rgb */ color: rgb(95, 30, 18);
/* oklch */ color: oklch(33.5% 0.097 32.6);
Tailwind
colors: {
  custom: {
    50: '#935d50',
    500: '#5f1e12',
    950: '#000000',
  },
}
SCSS
$custom: #5f1e12;
$custom-light: #935d50;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1e12",
  "rgb": {
    "r": 95,
    "g": 30,
    "b": 18
  },
  "hsl": {
    "h": 9.351,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33514,
    "c": 0.09746,
    "h": 32.6
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#5F1E12
secondary
#368897
accent
#D0EB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1E12

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

Preview Lab → · Contrast checker → · Palette generator →

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