#5F1313#5F1313

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

Color values

HEX#5F1313
RGBrgb(95, 19, 19)
HSLhsl(0, 67%, 22%)
HSVhsv(0, 80%, 37%)
CMYKcmyk(0%, 80%, 80%, 62.7%)
CIE-LABlab(19.83, 33.79, 21.06)
CIE-LCHlch(19.83, 39.82, 31.93°)
OKLaboklab(32.19% 0.0978 0.0472)
OKLCHoklch(32.19% 0.109 25.8)
XYZxyz(5.0703, 2.9464, 0.9177)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1313 #135F5F
analogous
#5F1339 #5F1313 #5F3913
triadic
#5F1313 #135F13 #13135F
tetradic
#5F1313 #395F13 #135F5F #39135F
square
#5F1313 #395F13 #135F5F #39135F
split-complementary
#5F1313 #135F39 #13395F
monochromatic
#1A0505 #2C0909 #5F1313 #921D1D #C52727

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F1313#FFFFFF#000000##FFFFFF
##5F13131.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)
#2A2512
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1313;
/* rgb */ color: rgb(95, 19, 19);
/* oklch */ color: oklch(32.2% 0.109 25.8);
Tailwind
colors: {
  custom: {
    50: '#935850',
    500: '#5f1313',
    950: '#000000',
  },
}
SCSS
$custom: #5f1313;
$custom-light: #935850;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1313",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 19
  },
  "hsl": {
    "h": 0,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32191,
    "c": 0.10857,
    "h": 25.8
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#5F1313
secondary
#379797
accent
#EAEA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1313

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

Preview Lab → · Contrast checker → · Palette generator →

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