#5F131D#5F131D

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

Color values

HEX#5F131D
RGBrgb(95, 19, 29)
HSLhsl(352, 67%, 22%)
HSVhsv(352, 80%, 37%)
CMYKcmyk(0%, 80%, 69.5%, 62.7%)
CIE-LABlab(20.00, 34.35, 14.48)
CIE-LCHlch(20.00, 37.27, 22.86°)
OKLaboklab(32.37% 0.102 0.0345)
OKLCHoklch(32.37% 0.108 18.7)
XYZxyz(5.1745, 2.9881, 1.4665)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F131D #135F55
analogous
#5F1343 #5F131D #5F2F13
triadic
#5F131D #1D5F13 #131D5F
tetradic
#5F131D #435F13 #135F55 #2F135F
square
#5F131D #435F13 #135F55 #2F135F
split-complementary
#5F131D #135F2F #13435F
monochromatic
#1A0508 #2C090D #5F131D #921D2D #C5273C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F131D#FFFFFF#000000##FFFFFF
##5F131D1.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)
#29261D
Deuteranopia (green-blind)
#3C361B
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f131d;
/* rgb */ color: rgb(95, 19, 29);
/* oklch */ color: oklch(32.4% 0.108 18.7);
Tailwind
colors: {
  custom: {
    50: '#925858',
    500: '#5f131d',
    950: '#000000',
  },
}
SCSS
$custom: #5f131d;
$custom-light: #925858;
$custom-dark: #000000;
JSON
{
  "hex": "#5f131d",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 29
  },
  "hsl": {
    "h": 352.105,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3237,
    "c": 0.10765,
    "h": 18.7
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#5F131D
secondary
#37978A
accent
#EAD33E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F131D

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

Preview Lab → · Contrast checker → · Palette generator →

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