#5F1517#5F1517

#5F1517 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.5% C 0.106 H 24.0°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#5F1517
RGBrgb(95, 21, 23)
HSLhsl(358, 64%, 23%)
HSVhsv(358, 78%, 37%)
CMYKcmyk(0%, 77.9%, 75.8%, 62.7%)
CIE-LABlab(20.17, 33.20, 18.80)
CIE-LCHlch(20.17, 38.16, 29.53°)
OKLaboklab(32.46% 0.0969 0.0432)
OKLCHoklch(32.46% 0.106 24)
XYZxyz(5.1427, 3.0319, 1.1249)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1517 #155F5D
analogous
#5F153C #5F1517 #5F3815
triadic
#5F1517 #175F15 #15175F
tetradic
#5F1517 #3C5F15 #155F5D #38155F
square
#5F1517 #3C5F15 #155F5D #38155F
split-complementary
#5F1517 #155F38 #153C5F
monochromatic
#190606 #2D0A0B #5F1517 #912023 #C32B2F

Accessibility & contrast

On white

13.07
#5F1517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1517
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1517#FFFFFF#000000##FFFFFF
##5F15171.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1517;
/* rgb */ color: rgb(95, 21, 23);
/* oklch */ color: oklch(32.5% 0.106 24.0);
Tailwind
colors: {
  custom: {
    50: '#935954',
    500: '#5f1517',
    950: '#000000',
  },
}
SCSS
$custom: #5f1517;
$custom-light: #935954;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1517",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 23
  },
  "hsl": {
    "h": 358.378,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32465,
    "c": 0.10608,
    "h": 24
  },
  "luminance": 0.03031
}

Semantic roles & 50–950 ramp

primary
#5F1517
secondary
#3A9694
accent
#E7E241
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1517

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

Preview Lab → · Contrast checker → · Palette generator →

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