#5F131F#5F131F

#5F131F is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.4% C 0.108 H 17.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5F131F
RGBrgb(95, 19, 31)
HSLhsl(351, 67%, 22%)
HSVhsv(351, 80%, 37%)
CMYKcmyk(0%, 80%, 67.4%, 62.7%)
CIE-LABlab(20.04, 34.48, 13.14)
CIE-LCHlch(20.04, 36.90, 20.85°)
OKLaboklab(32.41% 0.1029 0.0317)
OKLCHoklch(32.41% 0.108 17.1)
XYZxyz(5.2001, 2.9983, 1.6010)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F131F #135F53
analogous
#5F1345 #5F131F #5F2D13
triadic
#5F131F #1F5F13 #131F5F
tetradic
#5F131F #455F13 #135F53 #2D135F
square
#5F131F #455F13 #135F53 #2D135F
split-complementary
#5F131F #135F2D #13455F
monochromatic
#1A0508 #2C090E #5F131F #921D30 #C52740

Accessibility & contrast

On white

13.13
#5F131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5F131F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F131F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F131F#FFFFFF#000000##FFFFFF
##5F131F1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261F
Deuteranopia (green-blind)
#3C361D
Tritanopia (blue-blind)
#690018
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f131f;
/* rgb */ color: rgb(95, 19, 31);
/* oklch */ color: oklch(32.4% 0.108 17.1);
Tailwind
colors: {
  custom: {
    50: '#92585a',
    500: '#5f131f',
    950: '#000000',
  },
}
SCSS
$custom: #5f131f;
$custom-light: #92585a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f131f",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 350.526,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32413,
    "c": 0.10763,
    "h": 17.1
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#5F131F
secondary
#379788
accent
#EACF3E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F131F

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

Preview Lab → · Contrast checker → · Palette generator →

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