#5F150C#5F150C

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

Color values

HEX#5F150C
RGBrgb(95, 21, 12)
HSLhsl(7, 78%, 21%)
HSVhsv(7, 87%, 37%)
CMYKcmyk(0%, 77.9%, 87.4%, 62.7%)
CIE-LABlab(20.03, 32.72, 25.09)
CIE-LCHlch(20.03, 41.24, 37.49°)
OKLaboklab(32.32% 0.0928 0.0548)
OKLCHoklch(32.32% 0.108 30.6)
XYZxyz(5.0544, 2.9966, 0.6600)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F150C #0C565F
analogous
#5F0C2C #5F150C #5F3E0C
triadic
#5F150C #0C5F15 #150C5F
tetradic
#5F150C #2C5F0C #0C565F #3E0C5F
square
#5F150C #2C5F0C #0C565F #3E0C5F
split-complementary
#5F150C #0C5F3E #0C2C5F
monochromatic
#1B0603 #290905 #5F150C #952113 #CC2D1A

Accessibility & contrast

On white

13.13
#5F150C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F150C
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F150C#FFFFFF#000000##FFFFFF
##5F150C1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f150c;
/* rgb */ color: rgb(95, 21, 12);
/* oklch */ color: oklch(32.3% 0.108 30.6);
Tailwind
colors: {
  custom: {
    50: '#94594c',
    500: '#5f150c',
    950: '#000000',
  },
}
SCSS
$custom: #5f150c;
$custom-light: #94594c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f150c",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 12
  },
  "hsl": {
    "h": 6.506,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32315,
    "c": 0.1078,
    "h": 30.6
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#5F150C
secondary
#2D8E99
accent
#DFF434
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F150C

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

Preview Lab → · Contrast checker → · Palette generator →

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