#5F1617#5F1617

#5F1617 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.105 H 24.5°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#5F1617
RGBrgb(95, 22, 23)
HSLhsl(359, 62%, 23%)
HSVhsv(359, 77%, 37%)
CMYKcmyk(0%, 76.8%, 75.8%, 62.7%)
CIE-LABlab(20.32, 32.79, 18.98)
CIE-LCHlch(20.32, 37.89, 30.06°)
OKLaboklab(32.58% 0.0956 0.0436)
OKLCHoklch(32.58% 0.105 24.5)
XYZxyz(5.1615, 3.0694, 1.1311)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1617 #165F5E
analogous
#5F163B #5F1617 #5F3916
triadic
#5F1617 #175F16 #16175F
tetradic
#5F1617 #3B5F16 #165F5E #39165F
square
#5F1617 #3B5F16 #165F5E #39165F
split-complementary
#5F1617 #165F39 #163B5F
monochromatic
#190606 #2D0A0B #5F1617 #912223 #C22D2F

Accessibility & contrast

On white

13.01
#5F1617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F1617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1617
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1617#FFFFFF#000000##FFFFFF
##5F16171.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2716
Deuteranopia (green-blind)
#3D3715
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1617;
/* rgb */ color: rgb(95, 22, 23);
/* oklch */ color: oklch(32.6% 0.105 24.5);
Tailwind
colors: {
  custom: {
    50: '#935954',
    500: '#5f1617',
    950: '#000000',
  },
}
SCSS
$custom: #5f1617;
$custom-light: #935954;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1617",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 23
  },
  "hsl": {
    "h": 359.178,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32576,
    "c": 0.10506,
    "h": 24.5
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#5F1617
secondary
#3B9695
accent
#E5E342
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1617

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

Preview Lab → · Contrast checker → · Palette generator →

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