#5F150F#5F150F

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

Color values

HEX#5F150F
RGBrgb(95, 21, 15)
HSLhsl(5, 73%, 22%)
HSVhsv(5, 84%, 37%)
CMYKcmyk(0%, 77.9%, 84.2%, 62.7%)
CIE-LABlab(20.06, 32.83, 23.65)
CIE-LCHlch(20.06, 40.46, 35.77°)
OKLaboklab(32.35% 0.0938 0.0521)
OKLCHoklch(32.35% 0.107 29)
XYZxyz(5.0743, 3.0045, 0.7646)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F150F #0F595F
analogous
#5F0F31 #5F150F #5F3D0F
triadic
#5F150F #0F5F15 #150F5F
tetradic
#5F150F #315F0F #0F595F #3D0F5F
square
#5F150F #315F0F #0F595F #3D0F5F
split-complementary
#5F150F #0F5F3D #0F315F
monochromatic
#1A0604 #2A0907 #5F150F #942117 #C92C20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F150F#FFFFFF#000000##FFFFFF
##5F150F1.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)
#2B260E
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f150f;
/* rgb */ color: rgb(95, 21, 15);
/* oklch */ color: oklch(32.3% 0.107 29.0);
Tailwind
colors: {
  custom: {
    50: '#93594e',
    500: '#5f150f',
    950: '#000000',
  },
}
SCSS
$custom: #5f150f;
$custom-light: #93594e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f150f",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 15
  },
  "hsl": {
    "h": 4.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32349,
    "c": 0.10729,
    "h": 29
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#5F150F
secondary
#329198
accent
#E2EF38
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F150F

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

Preview Lab → · Contrast checker → · Palette generator →

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