#5F1314#5F1314

#5F1314 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.2% C 0.108 H 25.1°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#5F1314
RGBrgb(95, 19, 20)
HSLhsl(359, 67%, 22%)
HSVhsv(359, 80%, 37%)
CMYKcmyk(0%, 80%, 78.9%, 62.7%)
CIE-LABlab(19.84, 33.84, 20.43)
CIE-LCHlch(19.84, 39.52, 31.12°)
OKLaboklab(32.21% 0.0982 0.0461)
OKLCHoklch(32.21% 0.108 25.1)
XYZxyz(5.0790, 2.9499, 0.9636)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1314 #135F5E
analogous
#5F133A #5F1314 #5F3813
triadic
#5F1314 #145F13 #13145F
tetradic
#5F1314 #3A5F13 #135F5E #38135F
square
#5F1314 #3A5F13 #135F5E #38135F
split-complementary
#5F1314 #135F38 #133A5F
monochromatic
#1A0505 #2C0909 #5F1314 #921D1F #C52729

Accessibility & contrast

On white

13.21
#5F1314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1314
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1314#FFFFFF#000000##FFFFFF
##5F13141.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2513
Deuteranopia (green-blind)
#3D3611
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1314;
/* rgb */ color: rgb(95, 19, 20);
/* oklch */ color: oklch(32.2% 0.108 25.1);
Tailwind
colors: {
  custom: {
    50: '#935851',
    500: '#5f1314',
    950: '#000000',
  },
}
SCSS
$custom: #5f1314;
$custom-light: #935851;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1314",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 20
  },
  "hsl": {
    "h": 359.211,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32206,
    "c": 0.10844,
    "h": 25.1
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#5F1314
secondary
#379796
accent
#EAE73E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1314

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

Preview Lab → · Contrast checker → · Palette generator →

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