#5F1A0C#5F1A0C

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

Color values

HEX#5F1A0C
RGBrgb(95, 26, 12)
HSLhsl(10, 78%, 21%)
HSVhsv(10, 87%, 37%)
CMYKcmyk(0%, 72.6%, 87.4%, 62.7%)
CIE-LABlab(20.82, 30.55, 25.98)
CIE-LCHlch(20.82, 40.10, 40.38°)
OKLaboklab(32.91% 0.0861 0.0565)
OKLCHoklch(32.91% 0.103 33.3)
XYZxyz(5.1557, 3.1990, 0.6938)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1A0C #0C515F
analogous
#5F0C27 #5F1A0C #5F430C
triadic
#5F1A0C #0C5F1A #1A0C5F
tetradic
#5F1A0C #275F0C #0C515F #430C5F
square
#5F1A0C #275F0C #0C515F #430C5F
split-complementary
#5F1A0C #0C5F43 #0C275F
monochromatic
#1B0703 #290B05 #5F1A0C #952913 #CC381A

Accessibility & contrast

On white

12.81
#5F1A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F1A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1A0C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1A0C#FFFFFF#000000##FFFFFF
##5F1A0C1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E280A
Deuteranopia (green-blind)
#3F3809
Tritanopia (blue-blind)
#690417
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1a0c;
/* rgb */ color: rgb(95, 26, 12);
/* oklch */ color: oklch(32.9% 0.103 33.3);
Tailwind
colors: {
  custom: {
    50: '#935b4c',
    500: '#5f1a0c',
    950: '#000000',
  },
}
SCSS
$custom: #5f1a0c;
$custom-light: #935b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1a0c",
  "rgb": {
    "r": 95,
    "g": 26,
    "b": 12
  },
  "hsl": {
    "h": 10.12,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3291,
    "c": 0.10295,
    "h": 33.3
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

primary
#5F1A0C
secondary
#2D8799
accent
#D4F434
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F1A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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