#5F1112#5F1112

#5F1112 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.111 H 25.5°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#5F1112
RGBrgb(95, 17, 18)
HSLhsl(359, 70%, 22%)
HSVhsv(359, 82%, 37%)
CMYKcmyk(0%, 82.1%, 81.1%, 62.7%)
CIE-LABlab(19.55, 34.48, 21.36)
CIE-LCHlch(19.55, 40.56, 31.78°)
OKLaboklab(31.98% 0.0997 0.0477)
OKLCHoklch(31.98% 0.111 25.5)
XYZxyz(5.0295, 2.8783, 0.8629)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1112 #115F5E
analogous
#5F1139 #5F1112 #5F3711
triadic
#5F1112 #125F11 #11125F
tetradic
#5F1112 #395F11 #115F5E #37115F
square
#5F1112 #395F11 #115F5E #37115F
split-complementary
#5F1112 #115F37 #11395F
monochromatic
#1A0505 #2B0808 #5F1112 #931A1C #C72426

Accessibility & contrast

On white

13.33
#5F1112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5F1112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1112
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1112#FFFFFF#000000##FFFFFF
##5F11121.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292511
Deuteranopia (green-blind)
#3C350F
Tritanopia (blue-blind)
#690012
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f1112;
/* rgb */ color: rgb(95, 17, 18);
/* oklch */ color: oklch(32.0% 0.111 25.5);
Tailwind
colors: {
  custom: {
    50: '#935750',
    500: '#5f1112',
    950: '#000000',
  },
}
SCSS
$custom: #5f1112;
$custom-light: #935750;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1112",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 18
  },
  "hsl": {
    "h": 359.231,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31979,
    "c": 0.11054,
    "h": 25.5
  },
  "luminance": 0.02877
}

Semantic roles & 50–950 ramp

primary
#5F1112
secondary
#349896
accent
#ECEA3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5F1112

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

Preview Lab → · Contrast checker → · Palette generator →

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