#5F131E#5F131E

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

Color values

HEX#5F131E
RGBrgb(95, 19, 30)
HSLhsl(351, 67%, 22%)
HSVhsv(351, 80%, 37%)
CMYKcmyk(0%, 80%, 68.4%, 62.7%)
CIE-LABlab(20.02, 34.41, 13.81)
CIE-LCHlch(20.02, 37.08, 21.86°)
OKLaboklab(32.39% 0.1024 0.0331)
OKLCHoklch(32.39% 0.108 17.9)
XYZxyz(5.1871, 2.9931, 1.5327)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F131E #135F54
analogous
#5F1344 #5F131E #5F2E13
triadic
#5F131E #1E5F13 #131E5F
tetradic
#5F131E #445F13 #135F54 #2E135F
square
#5F131E #445F13 #135F54 #2E135F
split-complementary
#5F131E #135F2E #13445F
monochromatic
#1A0508 #2C090E #5F131E #921D2E #C5273E

Accessibility & contrast

On white

13.14
#5F131E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F131E
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F131E#FFFFFF#000000##FFFFFF
##5F131E1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f131e;
/* rgb */ color: rgb(95, 19, 30);
/* oklch */ color: oklch(32.4% 0.108 17.9);
Tailwind
colors: {
  custom: {
    50: '#925859',
    500: '#5f131e',
    950: '#000000',
  },
}
SCSS
$custom: #5f131e;
$custom-light: #925859;
$custom-dark: #000000;
JSON
{
  "hex": "#5f131e",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 30
  },
  "hsl": {
    "h": 351.316,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32391,
    "c": 0.10763,
    "h": 17.9
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#5F131E
secondary
#379789
accent
#EAD13E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F131E

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

Preview Lab → · Contrast checker → · Palette generator →

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