#5F0F1E#5F0F1E

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

Color values

HEX#5F0F1E
RGBrgb(95, 15, 30)
HSLhsl(349, 73%, 22%)
HSVhsv(349, 84%, 37%)
CMYKcmyk(0%, 84.2%, 68.4%, 62.7%)
CIE-LABlab(19.51, 35.83, 13.16)
CIE-LCHlch(19.51, 38.17, 20.16°)
OKLaboklab(32.02% 0.107 0.0316)
OKLCHoklch(32.02% 0.112 16.5)
XYZxyz(5.1250, 2.8691, 1.5120)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F1E #0F5F50
analogous
#5F0F46 #5F0F1E #5F280F
triadic
#5F0F1E #1E5F0F #0F1E5F
tetradic
#5F0F1E #465F0F #0F5F50 #280F5F
square
#5F0F1E #465F0F #0F5F50 #280F5F
split-complementary
#5F0F1E #0F5F28 #0F465F
monochromatic
#1A0408 #2A070D #5F0F1E #94172F #C9203F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F0F1E#FFFFFF#000000##FFFFFF
##5F0F1E1.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)
#26251E
Deuteranopia (green-blind)
#3B351C
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0f1e;
/* rgb */ color: rgb(95, 15, 30);
/* oklch */ color: oklch(32.0% 0.112 16.5);
Tailwind
colors: {
  custom: {
    50: '#925659',
    500: '#5f0f1e',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f1e;
$custom-light: #925659;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f1e",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 30
  },
  "hsl": {
    "h": 348.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32017,
    "c": 0.11154,
    "h": 16.5
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

primary
#5F0F1E
secondary
#329885
accent
#EFCD38
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5F0F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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