#5F1A0F#5F1A0F

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

Color values

HEX#5F1A0F
RGBrgb(95, 26, 15)
HSLhsl(8, 73%, 22%)
HSVhsv(8, 84%, 37%)
CMYKcmyk(0%, 72.6%, 84.2%, 62.7%)
CIE-LABlab(20.85, 30.66, 24.54)
CIE-LCHlch(20.85, 39.27, 38.67°)
OKLaboklab(32.94% 0.087 0.0538)
OKLCHoklch(32.94% 0.102 31.7)
XYZxyz(5.1755, 3.2069, 0.7983)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1A0F #0F545F
analogous
#5F0F2C #5F1A0F #5F420F
triadic
#5F1A0F #0F5F1A #1A0F5F
tetradic
#5F1A0F #2C5F0F #0F545F #420F5F
square
#5F1A0F #2C5F0F #0F545F #420F5F
split-complementary
#5F1A0F #0F5F42 #0F2C5F
monochromatic
#1A0704 #2A0C07 #5F1A0F #942817 #C93720

Accessibility & contrast

On white

12.80
#5F1A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1A0F
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1A0F#FFFFFF#000000##FFFFFF
##5F1A0F1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E290D
Deuteranopia (green-blind)
#3F380C
Tritanopia (blue-blind)
#690418
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1a0f;
/* rgb */ color: rgb(95, 26, 15);
/* oklch */ color: oklch(32.9% 0.102 31.7);
Tailwind
colors: {
  custom: {
    50: '#935b4e',
    500: '#5f1a0f',
    950: '#000000',
  },
}
SCSS
$custom: #5f1a0f;
$custom-light: #935b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1a0f",
  "rgb": {
    "r": 95,
    "g": 26,
    "b": 15
  },
  "hsl": {
    "h": 8.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32942,
    "c": 0.10233,
    "h": 31.7
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

primary
#5F1A0F
secondary
#328A98
accent
#D6EF38
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F1A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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