#5F111B#5F111B

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

Color values

HEX#5F111B
RGBrgb(95, 17, 27)
HSLhsl(352, 70%, 22%)
HSVhsv(352, 82%, 37%)
CMYKcmyk(0%, 82.1%, 71.6%, 62.7%)
CIE-LABlab(19.69, 34.95, 15.49)
CIE-LCHlch(19.69, 38.23, 23.90°)
OKLaboklab(32.13% 0.1035 0.0365)
OKLCHoklch(32.13% 0.11 19.4)
XYZxyz(5.1182, 2.9137, 1.3296)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F111B #115F55
analogous
#5F1142 #5F111B #5F2E11
triadic
#5F111B #1B5F11 #111B5F
tetradic
#5F111B #425F11 #115F55 #2E115F
square
#5F111B #425F11 #115F55 #2E115F
split-complementary
#5F111B #115F2E #11425F
monochromatic
#1A0507 #2B080C #5F111B #931A2A #C72439

Accessibility & contrast

On white

13.27
#5F111B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F111B
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F111B#FFFFFF#000000##FFFFFF
##5F111B1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251B
Deuteranopia (green-blind)
#3B3619
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f111b;
/* rgb */ color: rgb(95, 17, 27);
/* oklch */ color: oklch(32.1% 0.110 19.4);
Tailwind
colors: {
  custom: {
    50: '#935757',
    500: '#5f111b',
    950: '#000000',
  },
}
SCSS
$custom: #5f111b;
$custom-light: #935757;
$custom-dark: #000000;
JSON
{
  "hex": "#5f111b",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 27
  },
  "hsl": {
    "h": 352.308,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32134,
    "c": 0.10971,
    "h": 19.4
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#5F111B
secondary
#34988B
accent
#ECD63B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5F111B

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

Preview Lab → · Contrast checker → · Palette generator →

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