#5F1F12#5F1F12

#5F1F12 is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.7% C 0.096 H 33.3°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#5F1F12
RGBrgb(95, 31, 18)
HSLhsl(10, 68%, 22%)
HSVhsv(10, 81%, 37%)
CMYKcmyk(0%, 67.4%, 81.1%, 62.7%)
CIE-LABlab(21.79, 28.37, 23.85)
CIE-LCHlch(21.79, 37.06, 40.05°)
OKLaboklab(33.66% 0.0806 0.0529)
OKLCHoklch(33.66% 0.096 33.3)
XYZxyz(5.3191, 3.4573, 0.9594)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1F12 #12525F
analogous
#5F122C #5F1F12 #5F4612
triadic
#5F1F12 #125F1F #1F125F
tetradic
#5F1F12 #2C5F12 #12525F #46125F
square
#5F1F12 #2C5F12 #12525F #46125F
split-complementary
#5F1F12 #125F46 #122C5F
monochromatic
#1A0805 #2C0E08 #5F1F12 #92301C #C64125

Accessibility & contrast

On white

12.42
#5F1F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5F1F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1F12
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1F12#FFFFFF#000000##FFFFFF
##5F1F121.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B10
Deuteranopia (green-blind)
#413910
Tritanopia (blue-blind)
#690F1C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1f12;
/* rgb */ color: rgb(95, 31, 18);
/* oklch */ color: oklch(33.7% 0.096 33.3);
Tailwind
colors: {
  custom: {
    50: '#935e50',
    500: '#5f1f12',
    950: '#000000',
  },
}
SCSS
$custom: #5f1f12;
$custom-light: #935e50;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1f12",
  "rgb": {
    "r": 95,
    "g": 31,
    "b": 18
  },
  "hsl": {
    "h": 10.13,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33656,
    "c": 0.09639,
    "h": 33.3
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

primary
#5F1F12
secondary
#368797
accent
#CEEB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1F12

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

Preview Lab → · Contrast checker → · Palette generator →

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