#5F1D12#5F1D12

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

Color values

HEX#5F1D12
RGBrgb(95, 29, 18)
HSLhsl(9, 68%, 22%)
HSVhsv(9, 81%, 37%)
CMYKcmyk(0%, 69.5%, 81.1%, 62.7%)
CIE-LABlab(21.42, 29.36, 23.45)
CIE-LCHlch(21.42, 37.57, 38.61°)
OKLaboklab(33.38% 0.0837 0.0521)
OKLCHoklch(33.38% 0.099 31.9)
XYZxyz(5.2684, 3.3561, 0.9425)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1D12 #12545F
analogous
#5F122E #5F1D12 #5F4312
triadic
#5F1D12 #125F1D #1D125F
tetradic
#5F1D12 #2E5F12 #12545F #43125F
square
#5F1D12 #2E5F12 #12545F #43125F
split-complementary
#5F1D12 #125F43 #122E5F
monochromatic
#1A0805 #2C0D08 #5F1D12 #922D1C #C63C25

Accessibility & contrast

On white

12.57
#5F1D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1D12
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1D12#FFFFFF#000000##FFFFFF
##5F1D121.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1d12;
/* rgb */ color: rgb(95, 29, 18);
/* oklch */ color: oklch(33.4% 0.099 31.9);
Tailwind
colors: {
  custom: {
    50: '#935d50',
    500: '#5f1d12',
    950: '#000000',
  },
}
SCSS
$custom: #5f1d12;
$custom-light: #935d50;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1d12",
  "rgb": {
    "r": 95,
    "g": 29,
    "b": 18
  },
  "hsl": {
    "h": 8.571,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33376,
    "c": 0.09854,
    "h": 31.9
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#5F1D12
secondary
#368997
accent
#D2EB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1D12

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

Preview Lab → · Contrast checker → · Palette generator →

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