#5F1122#5F1122

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

Color values

HEX#5F1122
RGBrgb(95, 17, 34)
HSLhsl(347, 70%, 22%)
HSVhsv(347, 82%, 37%)
CMYKcmyk(0%, 82.1%, 64.2%, 62.7%)
CIE-LABlab(19.84, 35.43, 10.77)
CIE-LCHlch(19.84, 37.03, 16.91°)
OKLaboklab(32.29% 0.1065 0.0265)
OKLCHoklch(32.29% 0.11 14)
XYZxyz(5.2090, 2.9501, 1.8082)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1122 #115F4E
analogous
#5F1149 #5F1122 #5F2711
triadic
#5F1122 #225F11 #11225F
tetradic
#5F1122 #495F11 #115F4E #27115F
square
#5F1122 #495F11 #115F4E #27115F
split-complementary
#5F1122 #115F27 #11495F
monochromatic
#1A0509 #2B080F #5F1122 #931A35 #C72447

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F1122#FFFFFF#000000##FFFFFF
##5F11221.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)
#272622
Deuteranopia (green-blind)
#3B3620
Tritanopia (blue-blind)
#690018
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1122;
/* rgb */ color: rgb(95, 17, 34);
/* oklch */ color: oklch(32.3% 0.110 14.0);
Tailwind
colors: {
  custom: {
    50: '#92575c',
    500: '#5f1122',
    950: '#000000',
  },
}
SCSS
$custom: #5f1122;
$custom-light: #92575c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1122",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 34
  },
  "hsl": {
    "h": 346.923,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32291,
    "c": 0.10978,
    "h": 14
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#5F1122
secondary
#349882
accent
#ECC63B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5F1122

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

Preview Lab → · Contrast checker → · Palette generator →

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