#5F1518#5F1518

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

Color values

HEX#5F1518
RGBrgb(95, 21, 24)
HSLhsl(358, 64%, 23%)
HSVhsv(358, 78%, 37%)
CMYKcmyk(0%, 77.9%, 74.7%, 62.7%)
CIE-LABlab(20.19, 33.26, 18.15)
CIE-LCHlch(20.19, 37.89, 28.62°)
OKLaboklab(32.48% 0.0973 0.042)
OKLCHoklch(32.48% 0.106 23.3)
XYZxyz(5.1529, 3.0360, 1.1786)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1518 #155F5C
analogous
#5F153D #5F1518 #5F3715
triadic
#5F1518 #185F15 #15185F
tetradic
#5F1518 #3D5F15 #155F5C #37155F
square
#5F1518 #3D5F15 #155F5C #37155F
split-complementary
#5F1518 #155F37 #153D5F
monochromatic
#190606 #2D0A0B #5F1518 #912025 #C32B31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F1518#FFFFFF#000000##FFFFFF
##5F15181.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)
#2A2717
Deuteranopia (green-blind)
#3D3616
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1518;
/* rgb */ color: rgb(95, 21, 24);
/* oklch */ color: oklch(32.5% 0.106 23.3);
Tailwind
colors: {
  custom: {
    50: '#935954',
    500: '#5f1518',
    950: '#000000',
  },
}
SCSS
$custom: #5f1518;
$custom-light: #935954;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1518",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 24
  },
  "hsl": {
    "h": 357.568,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32483,
    "c": 0.10597,
    "h": 23.3
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#5F1518
secondary
#3A9693
accent
#E7E041
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1518

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

Preview Lab → · Contrast checker → · Palette generator →

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