#5F1015#5F1015

#5F1015 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.9% C 0.111 H 23.3°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#5F1015
RGBrgb(95, 16, 21)
HSLhsl(356, 71%, 22%)
HSVhsv(356, 83%, 37%)
CMYKcmyk(0%, 83.2%, 77.9%, 62.7%)
CIE-LABlab(19.47, 34.97, 19.33)
CIE-LCHlch(19.47, 39.96, 28.93°)
OKLaboklab(31.93% 0.102 0.0439)
OKLCHoklch(31.93% 0.111 23.3)
XYZxyz(5.0405, 2.8584, 0.9956)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1015 #105F5A
analogous
#5F103D #5F1015 #5F3310
triadic
#5F1015 #155F10 #10155F
tetradic
#5F1015 #3D5F10 #105F5A #33105F
square
#5F1015 #3D5F10 #105F5A #33105F
split-complementary
#5F1015 #105F33 #103D5F
monochromatic
#1A0406 #2B0709 #5F1015 #931921 #C8222C

Accessibility & contrast

On white

13.36
#5F1015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5F1015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1015
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1015#FFFFFF#000000##FFFFFF
##5F10151.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282414
Deuteranopia (green-blind)
#3C3512
Tritanopia (blue-blind)
#690013
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f1015;
/* rgb */ color: rgb(95, 16, 21);
/* oklch */ color: oklch(31.9% 0.111 23.3);
Tailwind
colors: {
  custom: {
    50: '#935752',
    500: '#5f1015',
    950: '#000000',
  },
}
SCSS
$custom: #5f1015;
$custom-light: #935752;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1015",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 21
  },
  "hsl": {
    "h": 356.203,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31932,
    "c": 0.11106,
    "h": 23.3
  },
  "luminance": 0.02858
}

Semantic roles & 50–950 ramp

primary
#5F1015
secondary
#339892
accent
#EEE33A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5F1015

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

Preview Lab → · Contrast checker → · Palette generator →

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