#5F101C#5F101C

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

Color values

HEX#5F101C
RGBrgb(95, 16, 28)
HSLhsl(351, 71%, 22%)
HSVhsv(351, 83%, 37%)
CMYKcmyk(0%, 83.2%, 70.5%, 62.7%)
CIE-LABlab(19.59, 35.36, 14.66)
CIE-LCHlch(19.59, 38.28, 22.51°)
OKLaboklab(32.06% 0.105 0.0348)
OKLCHoklch(32.06% 0.111 18.3)
XYZxyz(5.1148, 2.8881, 1.3865)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F101C #105F53
analogous
#5F1044 #5F101C #5F2C10
triadic
#5F101C #1C5F10 #101C5F
tetradic
#5F101C #445F10 #105F53 #2C105F
square
#5F101C #445F10 #105F53 #2C105F
split-complementary
#5F101C #105F2C #10445F
monochromatic
#1A0408 #2B070D #5F101C #93192B #C8223B

Accessibility & contrast

On white

13.31
#5F101C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F101C
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F101C#FFFFFF#000000##FFFFFF
##5F101C1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f101c;
/* rgb */ color: rgb(95, 16, 28);
/* oklch */ color: oklch(32.1% 0.111 18.3);
Tailwind
colors: {
  custom: {
    50: '#935757',
    500: '#5f101c',
    950: '#000000',
  },
}
SCSS
$custom: #5f101c;
$custom-light: #935757;
$custom-dark: #000000;
JSON
{
  "hex": "#5f101c",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 28
  },
  "hsl": {
    "h": 350.886,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32062,
    "c": 0.11062,
    "h": 18.3
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#5F101C
secondary
#339889
accent
#EED33A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5F101C

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

Preview Lab → · Contrast checker → · Palette generator →

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