#5F131A#5F131A

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

Color values

HEX#5F131A
RGBrgb(95, 19, 26)
HSLhsl(354, 67%, 22%)
HSVhsv(354, 80%, 37%)
CMYKcmyk(0%, 80%, 72.6%, 62.7%)
CIE-LABlab(19.94, 34.16, 16.48)
CIE-LCHlch(19.94, 37.93, 25.76°)
OKLaboklab(32.31% 0.1007 0.0386)
OKLCHoklch(32.31% 0.108 21)
XYZxyz(5.1392, 2.9740, 1.2805)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F131A #135F58
analogous
#5F1340 #5F131A #5F3213
triadic
#5F131A #1A5F13 #131A5F
tetradic
#5F131A #405F13 #135F58 #32135F
square
#5F131A #405F13 #135F58 #32135F
split-complementary
#5F131A #135F32 #13405F
monochromatic
#1A0507 #2C090C #5F131A #921D28 #C52736

Accessibility & contrast

On white

13.17
#5F131A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5F131A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F131A
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F131A#FFFFFF#000000##FFFFFF
##5F131A1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261A
Deuteranopia (green-blind)
#3C3618
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f131a;
/* rgb */ color: rgb(95, 19, 26);
/* oklch */ color: oklch(32.3% 0.108 21.0);
Tailwind
colors: {
  custom: {
    50: '#935856',
    500: '#5f131a',
    950: '#000000',
  },
}
SCSS
$custom: #5f131a;
$custom-light: #935856;
$custom-dark: #000000;
JSON
{
  "hex": "#5f131a",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 26
  },
  "hsl": {
    "h": 354.474,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32309,
    "c": 0.10781,
    "h": 21
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#5F131A
secondary
#37978E
accent
#EADA3E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F131A

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

Preview Lab → · Contrast checker → · Palette generator →

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