#5F1121#5F1121

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

Color values

HEX#5F1121
RGBrgb(95, 17, 33)
HSLhsl(348, 70%, 22%)
HSVhsv(348, 82%, 37%)
CMYKcmyk(0%, 82.1%, 65.3%, 62.7%)
CIE-LABlab(19.82, 35.35, 11.45)
CIE-LCHlch(19.82, 37.16, 17.94°)
OKLaboklab(32.27% 0.1061 0.028)
OKLCHoklch(32.27% 0.11 14.8)
XYZxyz(5.1948, 2.9444, 1.7333)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1121 #115F4F
analogous
#5F1148 #5F1121 #5F2811
triadic
#5F1121 #215F11 #11215F
tetradic
#5F1121 #485F11 #115F4F #28115F
square
#5F1121 #485F11 #115F4F #28115F
split-complementary
#5F1121 #115F28 #11485F
monochromatic
#1A0509 #2B080F #5F1121 #931A33 #C72445

Accessibility & contrast

On white

13.22
#5F1121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1121
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1121#FFFFFF#000000##FFFFFF
##5F11211.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272621
Deuteranopia (green-blind)
#3B361F
Tritanopia (blue-blind)
#690018
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1121;
/* rgb */ color: rgb(95, 17, 33);
/* oklch */ color: oklch(32.3% 0.110 14.8);
Tailwind
colors: {
  custom: {
    50: '#92575b',
    500: '#5f1121',
    950: '#000000',
  },
}
SCSS
$custom: #5f1121;
$custom-light: #92575b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1121",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 33
  },
  "hsl": {
    "h": 347.692,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32266,
    "c": 0.10972,
    "h": 14.8
  },
  "luminance": 0.02944
}

Semantic roles & 50–950 ramp

primary
#5F1121
secondary
#349883
accent
#ECC83B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5F1121

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

Preview Lab → · Contrast checker → · Palette generator →

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