#5F0F1C#5F0F1C

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

Color values

HEX#5F0F1C
RGBrgb(95, 15, 28)
HSLhsl(350, 73%, 22%)
HSVhsv(350, 84%, 37%)
CMYKcmyk(0%, 84.2%, 70.5%, 62.7%)
CIE-LABlab(19.47, 35.70, 14.51)
CIE-LCHlch(19.47, 38.53, 22.12°)
OKLaboklab(31.97% 0.1061 0.0345)
OKLCHoklch(31.97% 0.112 18)
XYZxyz(5.1003, 2.8592, 1.3817)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F1C #0F5F52
analogous
#5F0F44 #5F0F1C #5F2A0F
triadic
#5F0F1C #1C5F0F #0F1C5F
tetradic
#5F0F1C #445F0F #0F5F52 #2A0F5F
square
#5F0F1C #445F0F #0F5F52 #2A0F5F
split-complementary
#5F0F1C #0F5F2A #0F445F
monochromatic
#1A0408 #2A070C #5F0F1C #94172C #C9203B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F0F1C#FFFFFF#000000##FFFFFF
##5F0F1C1.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)
#27241C
Deuteranopia (green-blind)
#3B351A
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0f1c;
/* rgb */ color: rgb(95, 15, 28);
/* oklch */ color: oklch(32.0% 0.112 18.0);
Tailwind
colors: {
  custom: {
    50: '#935657',
    500: '#5f0f1c',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f1c;
$custom-light: #935657;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f1c",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 28
  },
  "hsl": {
    "h": 350.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31974,
    "c": 0.11154,
    "h": 18
  },
  "luminance": 0.02858
}

Semantic roles & 50–950 ramp

primary
#5F0F1C
secondary
#329888
accent
#EFD238
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5F0F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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