#5D1F0F#5D1F0F

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

Color values

HEX#5D1F0F
RGBrgb(93, 31, 15)
HSLhsl(12, 72%, 21%)
HSVhsv(12, 84%, 36%)
CMYKcmyk(0%, 66.7%, 83.9%, 63.5%)
CIE-LABlab(21.37, 27.42, 24.98)
CIE-LCHlch(21.37, 37.09, 42.34°)
OKLaboklab(33.25% 0.0772 0.0549)
OKLCHoklch(33.25% 0.095 35.4)
XYZxyz(5.0910, 3.3423, 0.8289)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1F0F #0F4D5D
analogous
#5D0F26 #5D1F0F #5D460F
triadic
#5D1F0F #0F5D1F #1F0F5D
tetradic
#5D1F0F #265D0F #0F4D5D #460F5D
square
#5D1F0F #265D0F #0F4D5D #460F5D
split-complementary
#5D1F0F #0F5D46 #0F265D
monochromatic
#1A0904 #280D06 #5D1F0F #923117 #C64220

Accessibility & contrast

On white

12.59
#5D1F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1F0F
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1F0F#FFFFFF#000000##FFFFFF
##5D1F0F1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B0D
Deuteranopia (green-blind)
#40380D
Tritanopia (blue-blind)
#670F1C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d1f0f;
/* rgb */ color: rgb(93, 31, 15);
/* oklch */ color: oklch(33.3% 0.095 35.4);
Tailwind
colors: {
  custom: {
    50: '#915e4e',
    500: '#5d1f0f',
    950: '#000000',
  },
}
SCSS
$custom: #5d1f0f;
$custom-light: #915e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1f0f",
  "rgb": {
    "r": 93,
    "g": 31,
    "b": 15
  },
  "hsl": {
    "h": 12.308,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33252,
    "c": 0.09472,
    "h": 35.4
  },
  "luminance": 0.03342
}

Semantic roles & 50–950 ramp

primary
#5D1F0F
secondary
#318296
accent
#CAEF39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5D1F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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