#5F1912#5F1912

#5F1912 is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.9% C 0.103 H 29.4°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#5F1912
RGBrgb(95, 25, 18)
HSLhsl(5, 68%, 22%)
HSVhsv(5, 81%, 37%)
CMYKcmyk(0%, 73.7%, 81.1%, 62.7%)
CIE-LABlab(20.72, 31.24, 22.68)
CIE-LCHlch(20.72, 38.61, 35.98°)
OKLaboklab(32.85% 0.0895 0.0505)
OKLCHoklch(32.85% 0.103 29.4)
XYZxyz(5.1767, 3.1726, 0.9119)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1912 #12585F
analogous
#5F1231 #5F1912 #5F4012
triadic
#5F1912 #125F19 #19125F
tetradic
#5F1912 #315F12 #12585F #40125F
square
#5F1912 #315F12 #12585F #40125F
split-complementary
#5F1912 #125F40 #12315F
monochromatic
#1A0705 #2C0B08 #5F1912 #92271C #C63425

Accessibility & contrast

On white

12.85
#5F1912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1912
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1912#FFFFFF#000000##FFFFFF
##5F19121.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2811
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#690318
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1912;
/* rgb */ color: rgb(95, 25, 18);
/* oklch */ color: oklch(32.9% 0.103 29.4);
Tailwind
colors: {
  custom: {
    50: '#935b50',
    500: '#5f1912',
    950: '#000000',
  },
}
SCSS
$custom: #5f1912;
$custom-light: #935b50;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1912",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 18
  },
  "hsl": {
    "h": 5.455,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32854,
    "c": 0.10276,
    "h": 29.4
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#5F1912
secondary
#368E97
accent
#DBEB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1912

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

Preview Lab → · Contrast checker → · Palette generator →

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