#5F1D0F#5F1D0F

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

Color values

HEX#5F1D0F
RGBrgb(95, 29, 15)
HSLhsl(11, 73%, 22%)
HSVhsv(11, 84%, 37%)
CMYKcmyk(0%, 69.5%, 84.2%, 62.7%)
CIE-LABlab(21.38, 29.23, 25.12)
CIE-LCHlch(21.38, 38.54, 40.67°)
OKLaboklab(33.34% 0.0826 0.055)
OKLCHoklch(33.34% 0.099 33.7)
XYZxyz(5.2455, 3.3469, 0.8216)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1D0F #0F515F
analogous
#5F0F29 #5F1D0F #5F450F
triadic
#5F1D0F #0F5F1D #1D0F5F
tetradic
#5F1D0F #295F0F #0F515F #450F5F
square
#5F1D0F #295F0F #0F515F #450F5F
split-complementary
#5F1D0F #0F5F45 #0F295F
monochromatic
#1A0804 #2A0D07 #5F1D0F #942D17 #C93D20

Accessibility & contrast

On white

12.58
#5F1D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1D0F
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1D0F#FFFFFF#000000##FFFFFF
##5F1D0F1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0D
Deuteranopia (green-blind)
#40390C
Tritanopia (blue-blind)
#690A1A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1d0f;
/* rgb */ color: rgb(95, 29, 15);
/* oklch */ color: oklch(33.3% 0.099 33.7);
Tailwind
colors: {
  custom: {
    50: '#935d4e',
    500: '#5f1d0f',
    950: '#000000',
  },
}
SCSS
$custom: #5f1d0f;
$custom-light: #935d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1d0f",
  "rgb": {
    "r": 95,
    "g": 29,
    "b": 15
  },
  "hsl": {
    "h": 10.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33339,
    "c": 0.09924,
    "h": 33.7
  },
  "luminance": 0.03346
}

Semantic roles & 50–950 ramp

primary
#5F1D0F
secondary
#328698
accent
#CFEF38
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F1D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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