#5F131C#5F131C

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

Color values

HEX#5F131C
RGBrgb(95, 19, 28)
HSLhsl(353, 67%, 22%)
HSVhsv(353, 80%, 37%)
CMYKcmyk(0%, 80%, 70.5%, 62.7%)
CIE-LABlab(19.98, 34.28, 15.15)
CIE-LCHlch(19.98, 37.48, 23.84°)
OKLaboklab(32.35% 0.1015 0.0359)
OKLCHoklch(32.35% 0.108 19.5)
XYZxyz(5.1623, 2.9833, 1.4024)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F131C #135F56
analogous
#5F1342 #5F131C #5F3013
triadic
#5F131C #1C5F13 #131C5F
tetradic
#5F131C #425F13 #135F56 #30135F
square
#5F131C #425F13 #135F56 #30135F
split-complementary
#5F131C #135F30 #13425F
monochromatic
#1A0508 #2C090D #5F131C #921D2B #C5273A

Accessibility & contrast

On white

13.15
#5F131C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F131C
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F131C#FFFFFF#000000##FFFFFF
##5F131C1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f131c;
/* rgb */ color: rgb(95, 19, 28);
/* oklch */ color: oklch(32.3% 0.108 19.5);
Tailwind
colors: {
  custom: {
    50: '#925857',
    500: '#5f131c',
    950: '#000000',
  },
}
SCSS
$custom: #5f131c;
$custom-light: #925857;
$custom-dark: #000000;
JSON
{
  "hex": "#5f131c",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 28
  },
  "hsl": {
    "h": 352.895,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32349,
    "c": 0.10769,
    "h": 19.5
  },
  "luminance": 0.02982
}

Semantic roles & 50–950 ramp

primary
#5F131C
secondary
#37978C
accent
#EAD53E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F131C

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

Preview Lab → · Contrast checker → · Palette generator →

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