#5F0C1E#5F0C1E

#5F0C1E is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.8% C 0.114 H 15.6°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#5F0C1E
RGBrgb(95, 12, 30)
HSLhsl(347, 78%, 21%)
HSVhsv(347, 87%, 37%)
CMYKcmyk(0%, 87.4%, 68.4%, 62.7%)
CIE-LABlab(19.18, 36.76, 12.73)
CIE-LCHlch(19.18, 38.90, 19.10°)
OKLaboklab(31.78% 0.11 0.0307)
OKLCHoklch(31.78% 0.114 15.6)
XYZxyz(5.0857, 2.7904, 1.4989)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0C1E #0C5F4D
analogous
#5F0C47 #5F0C1E #5F230C
triadic
#5F0C1E #1E5F0C #0C1E5F
tetradic
#5F0C1E #475F0C #0C5F4D #230C5F
square
#5F0C1E #475F0C #0C5F4D #230C5F
split-complementary
#5F0C1E #0C5F23 #0C475F
monochromatic
#1B0309 #29050D #5F0C1E #95132F #CC1A40

Accessibility & contrast

On white

13.48
#5F0C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5F0C1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0C1E
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0C1E#FFFFFF#000000##FFFFFF
##5F0C1E1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241E
Deuteranopia (green-blind)
#3A351C
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0c1e;
/* rgb */ color: rgb(95, 12, 30);
/* oklch */ color: oklch(31.8% 0.114 15.6);
Tailwind
colors: {
  custom: {
    50: '#935559',
    500: '#5f0c1e',
    950: '#000000',
  },
}
SCSS
$custom: #5f0c1e;
$custom-light: #935559;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0c1e",
  "rgb": {
    "r": 95,
    "g": 12,
    "b": 30
  },
  "hsl": {
    "h": 346.988,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31775,
    "c": 0.11414,
    "h": 15.6
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#5F0C1E
secondary
#2D9982
accent
#F4CA34
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5F0C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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