#5F0F1D#5F0F1D

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

Color values

HEX#5F0F1D
RGBrgb(95, 15, 29)
HSLhsl(350, 73%, 22%)
HSVhsv(350, 84%, 37%)
CMYKcmyk(0%, 84.2%, 69.5%, 62.7%)
CIE-LABlab(19.49, 35.76, 13.83)
CIE-LCHlch(19.49, 38.35, 21.14°)
OKLaboklab(32% 0.1065 0.0331)
OKLCHoklch(32% 0.112 17.2)
XYZxyz(5.1125, 2.8640, 1.4458)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F1D #0F5F51
analogous
#5F0F45 #5F0F1D #5F290F
triadic
#5F0F1D #1D5F0F #0F1D5F
tetradic
#5F0F1D #455F0F #0F5F51 #290F5F
square
#5F0F1D #455F0F #0F5F51 #290F5F
split-complementary
#5F0F1D #0F5F29 #0F455F
monochromatic
#1A0408 #2A070D #5F0F1D #94172D #C9203D

Accessibility & contrast

On white

13.35
#5F0F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0F1D
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F1D#FFFFFF#000000##FFFFFF
##5F0F1D1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251D
Deuteranopia (green-blind)
#3B351B
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0f1d;
/* rgb */ color: rgb(95, 15, 29);
/* oklch */ color: oklch(32.0% 0.112 17.2);
Tailwind
colors: {
  custom: {
    50: '#925658',
    500: '#5f0f1d',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f1d;
$custom-light: #925658;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f1d",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 29
  },
  "hsl": {
    "h": 349.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31995,
    "c": 0.11153,
    "h": 17.2
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#5F0F1D
secondary
#329886
accent
#EFCF38
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5F0F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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