#5F101B#5F101B

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

Color values

HEX#5F101B
RGBrgb(95, 16, 27)
HSLhsl(352, 71%, 22%)
HSVhsv(352, 83%, 37%)
CMYKcmyk(0%, 83.2%, 71.6%, 62.7%)
CIE-LABlab(19.57, 35.30, 15.33)
CIE-LCHlch(19.57, 38.49, 23.48°)
OKLaboklab(32.04% 0.1046 0.0362)
OKLCHoklch(32.04% 0.111 19.1)
XYZxyz(5.1030, 2.8834, 1.3245)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F101B #105F54
analogous
#5F1043 #5F101B #5F2D10
triadic
#5F101B #1B5F10 #101B5F
tetradic
#5F101B #435F10 #105F54 #2D105F
square
#5F101B #435F10 #105F54 #2D105F
split-complementary
#5F101B #105F2D #10435F
monochromatic
#1A0407 #2B070C #5F101B #93192A #C82239

Accessibility & contrast

On white

13.32
#5F101B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F101B
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F101B#FFFFFF#000000##FFFFFF
##5F101B1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251B
Deuteranopia (green-blind)
#3B3519
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f101b;
/* rgb */ color: rgb(95, 16, 27);
/* oklch */ color: oklch(32.0% 0.111 19.1);
Tailwind
colors: {
  custom: {
    50: '#935757',
    500: '#5f101b',
    950: '#000000',
  },
}
SCSS
$custom: #5f101b;
$custom-light: #935757;
$custom-dark: #000000;
JSON
{
  "hex": "#5f101b",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 27
  },
  "hsl": {
    "h": 351.646,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32042,
    "c": 0.11064,
    "h": 19.1
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#5F101B
secondary
#33988A
accent
#EED53A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5F101B

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

Preview Lab → · Contrast checker → · Palette generator →

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