#5F1319#5F1319

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

Color values

HEX#5F1319
RGBrgb(95, 19, 25)
HSLhsl(355, 67%, 22%)
HSVhsv(355, 80%, 37%)
CMYKcmyk(0%, 80%, 73.7%, 62.7%)
CIE-LABlab(19.92, 34.10, 17.15)
CIE-LCHlch(19.92, 38.17, 26.70°)
OKLaboklab(32.29% 0.1002 0.0399)
OKLCHoklch(32.29% 0.108 21.7)
XYZxyz(5.1282, 2.9696, 1.2227)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1319 #135F59
analogous
#5F133F #5F1319 #5F3313
triadic
#5F1319 #195F13 #13195F
tetradic
#5F1319 #3F5F13 #135F59 #33135F
square
#5F1319 #3F5F13 #135F59 #33135F
split-complementary
#5F1319 #135F33 #133F5F
monochromatic
#1A0507 #2C090C #5F1319 #921D26 #C52734

Accessibility & contrast

On white

13.18
#5F1319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1319
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1319#FFFFFF#000000##FFFFFF
##5F13191.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292619
Deuteranopia (green-blind)
#3C3617
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1319;
/* rgb */ color: rgb(95, 19, 25);
/* oklch */ color: oklch(32.3% 0.108 21.7);
Tailwind
colors: {
  custom: {
    50: '#935855',
    500: '#5f1319',
    950: '#000000',
  },
}
SCSS
$custom: #5f1319;
$custom-light: #935855;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1319",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 25
  },
  "hsl": {
    "h": 355.263,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3229,
    "c": 0.10789,
    "h": 21.7
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#5F1319
secondary
#37978F
accent
#EADC3E
background
#F9F5F4
surface
#F2E9E8
border
#CCC5C4
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F1319

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

Preview Lab → · Contrast checker → · Palette generator →

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