#5F150E#5F150E

#5F150E is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.107 H 29.6°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#5F150E
RGBrgb(95, 21, 14)
HSLhsl(5, 74%, 21%)
HSVhsv(5, 85%, 37%)
CMYKcmyk(0%, 77.9%, 85.3%, 62.7%)
CIE-LABlab(20.05, 32.79, 24.16)
CIE-LCHlch(20.05, 40.73, 36.38°)
OKLaboklab(32.34% 0.0935 0.053)
OKLCHoklch(32.34% 0.107 29.6)
XYZxyz(5.0673, 3.0017, 0.7280)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F150E #0E585F
analogous
#5F0E30 #5F150E #5F3E0E
triadic
#5F150E #0E5F15 #150E5F
tetradic
#5F150E #305F0E #0E585F #3E0E5F
square
#5F150E #305F0E #0E585F #3E0E5F
split-complementary
#5F150E #0E5F3E #0E305F
monochromatic
#1B0604 #2A0906 #5F150E #942116 #CA2D1E

Accessibility & contrast

On white

13.12
#5F150E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5F150E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F150E
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F150E#FFFFFF#000000##FFFFFF
##5F150E1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B260C
Deuteranopia (green-blind)
#3E360B
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f150e;
/* rgb */ color: rgb(95, 21, 14);
/* oklch */ color: oklch(32.3% 0.107 29.6);
Tailwind
colors: {
  custom: {
    50: '#93594d',
    500: '#5f150e',
    950: '#000000',
  },
}
SCSS
$custom: #5f150e;
$custom-light: #93594d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f150e",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 14
  },
  "hsl": {
    "h": 5.185,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32337,
    "c": 0.10746,
    "h": 29.6
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#5F150E
secondary
#309099
accent
#E1F137
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F150E

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

Preview Lab → · Contrast checker → · Palette generator →

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