#5F1712#5F1712

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

Color values

HEX#5F1712
RGBrgb(95, 23, 18)
HSLhsl(4, 68%, 22%)
HSVhsv(4, 81%, 37%)
CMYKcmyk(0%, 75.8%, 81.1%, 62.7%)
CIE-LABlab(20.40, 32.12, 22.33)
CIE-LCHlch(20.40, 39.12, 34.80°)
OKLaboklab(32.61% 0.0923 0.0497)
OKLCHoklch(32.61% 0.105 28.3)
XYZxyz(5.1355, 3.0901, 0.8982)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1712 #125A5F
analogous
#5F1234 #5F1712 #5F3E12
triadic
#5F1712 #125F17 #17125F
tetradic
#5F1712 #345F12 #125A5F #3E125F
square
#5F1712 #345F12 #125A5F #3E125F
split-complementary
#5F1712 #125F3E #12345F
monochromatic
#1A0605 #2C0B08 #5F1712 #92231C #C63025

Accessibility & contrast

On white

12.98
#5F1712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F1712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1712
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1712#FFFFFF#000000##FFFFFF
##5F17121.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1712;
/* rgb */ color: rgb(95, 23, 18);
/* oklch */ color: oklch(32.6% 0.105 28.3);
Tailwind
colors: {
  custom: {
    50: '#935a50',
    500: '#5f1712',
    950: '#000000',
  },
}
SCSS
$custom: #5f1712;
$custom-light: #935a50;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1712",
  "rgb": {
    "r": 95,
    "g": 23,
    "b": 18
  },
  "hsl": {
    "h": 3.896,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32614,
    "c": 0.10481,
    "h": 28.3
  },
  "luminance": 0.03089
}

Semantic roles & 50–950 ramp

primary
#5F1712
secondary
#369197
accent
#E0EB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1712

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

Preview Lab → · Contrast checker → · Palette generator →

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