#5F131B#5F131B

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

Color values

HEX#5F131B
RGBrgb(95, 19, 27)
HSLhsl(354, 67%, 22%)
HSVhsv(354, 80%, 37%)
CMYKcmyk(0%, 80%, 71.6%, 62.7%)
CIE-LABlab(19.96, 34.22, 15.82)
CIE-LCHlch(19.96, 37.70, 24.81°)
OKLaboklab(32.33% 0.1011 0.0373)
OKLCHoklch(32.33% 0.108 20.2)
XYZxyz(5.1506, 2.9785, 1.3404)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F131B #135F57
analogous
#5F1341 #5F131B #5F3113
triadic
#5F131B #1B5F13 #131B5F
tetradic
#5F131B #415F13 #135F57 #31135F
square
#5F131B #415F13 #135F57 #31135F
split-complementary
#5F131B #135F31 #13415F
monochromatic
#1A0507 #2C090D #5F131B #921D29 #C52738

Accessibility & contrast

On white

13.16
#5F131B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F131B
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F131B#FFFFFF#000000##FFFFFF
##5F131B1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261B
Deuteranopia (green-blind)
#3C3619
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f131b;
/* rgb */ color: rgb(95, 19, 27);
/* oklch */ color: oklch(32.3% 0.108 20.2);
Tailwind
colors: {
  custom: {
    50: '#925857',
    500: '#5f131b',
    950: '#000000',
  },
}
SCSS
$custom: #5f131b;
$custom-light: #925857;
$custom-dark: #000000;
JSON
{
  "hex": "#5f131b",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 27
  },
  "hsl": {
    "h": 353.684,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32329,
    "c": 0.10774,
    "h": 20.2
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#5F131B
secondary
#37978D
accent
#EAD83E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F131B

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

Preview Lab → · Contrast checker → · Palette generator →

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