#5F1322#5F1322

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

Color values

HEX#5F1322
RGBrgb(95, 19, 34)
HSLhsl(348, 67%, 22%)
HSVhsv(348, 80%, 37%)
CMYKcmyk(0%, 80%, 64.2%, 62.7%)
CIE-LABlab(20.10, 34.70, 11.12)
CIE-LCHlch(20.10, 36.44, 17.77°)
OKLaboklab(32.48% 0.1042 0.0273)
OKLCHoklch(32.48% 0.108 14.7)
XYZxyz(5.2415, 3.0149, 1.8190)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1322 #135F50
analogous
#5F1348 #5F1322 #5F2A13
triadic
#5F1322 #225F13 #13225F
tetradic
#5F1322 #485F13 #135F50 #2A135F
square
#5F1322 #485F13 #135F50 #2A135F
split-complementary
#5F1322 #135F2A #13485F
monochromatic
#1A0509 #2C0910 #5F1322 #921D34 #C52747

Accessibility & contrast

On white

13.10
#5F1322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1322
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1322#FFFFFF#000000##FFFFFF
##5F13221.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282622
Deuteranopia (green-blind)
#3B3620
Tritanopia (blue-blind)
#690019
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1322;
/* rgb */ color: rgb(95, 19, 34);
/* oklch */ color: oklch(32.5% 0.108 14.7);
Tailwind
colors: {
  custom: {
    50: '#92585c',
    500: '#5f1322',
    950: '#000000',
  },
}
SCSS
$custom: #5f1322;
$custom-light: #92585c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1322",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 34
  },
  "hsl": {
    "h": 348.158,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32484,
    "c": 0.1077,
    "h": 14.7
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#5F1322
secondary
#379784
accent
#EAC83E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5F1322

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

Preview Lab → · Contrast checker → · Palette generator →

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