#5F101F#5F101F

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

Color values

HEX#5F101F
RGBrgb(95, 16, 31)
HSLhsl(349, 71%, 22%)
HSVhsv(349, 83%, 37%)
CMYKcmyk(0%, 83.2%, 67.4%, 62.7%)
CIE-LABlab(19.65, 35.56, 12.63)
CIE-LCHlch(19.65, 37.74, 19.56°)
OKLaboklab(32.13% 0.1063 0.0305)
OKLCHoklch(32.13% 0.111 16)
XYZxyz(5.1525, 2.9032, 1.5851)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F101F #105F50
analogous
#5F1047 #5F101F #5F2910
triadic
#5F101F #1F5F10 #101F5F
tetradic
#5F101F #475F10 #105F50 #29105F
square
#5F101F #475F10 #105F50 #29105F
split-complementary
#5F101F #105F29 #10475F
monochromatic
#1A0409 #2B070E #5F101F #931930 #C82241

Accessibility & contrast

On white

13.29
#5F101F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F101F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F101F#FFFFFF#000000##FFFFFF
##5F101F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251F
Deuteranopia (green-blind)
#3B351D
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f101f;
/* rgb */ color: rgb(95, 16, 31);
/* oklch */ color: oklch(32.1% 0.111 16.0);
Tailwind
colors: {
  custom: {
    50: '#92575a',
    500: '#5f101f',
    950: '#000000',
  },
}
SCSS
$custom: #5f101f;
$custom-light: #92575a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f101f",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 31
  },
  "hsl": {
    "h": 348.608,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32128,
    "c": 0.11063,
    "h": 16
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#5F101F
secondary
#339885
accent
#EECC3A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5F101F

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

Preview Lab → · Contrast checker → · Palette generator →

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