#5F120F#5F120F

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

Color values

HEX#5F120F
RGBrgb(95, 18, 15)
HSLhsl(2, 73%, 22%)
HSVhsv(2, 84%, 37%)
CMYKcmyk(0%, 81.1%, 84.2%, 62.7%)
CIE-LABlab(19.64, 34.00, 23.18)
CIE-LCHlch(19.64, 41.15, 34.28°)
OKLaboklab(32.04% 0.0975 0.0511)
OKLCHoklch(32.04% 0.11 27.7)
XYZxyz(5.0224, 2.9008, 0.7473)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F120F #0F5C5F
analogous
#5F0F34 #5F120F #5F3A0F
triadic
#5F120F #0F5F12 #120F5F
tetradic
#5F120F #345F0F #0F5C5F #3A0F5F
square
#5F120F #345F0F #0F5C5F #3A0F5F
split-complementary
#5F120F #0F5F3A #0F345F
monochromatic
#1A0504 #2A0807 #5F120F #941C17 #C92620

Accessibility & contrast

On white

13.29
#5F120F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5F120F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F120F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F120F#FFFFFF#000000##FFFFFF
##5F120F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A250E
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#690012
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f120f;
/* rgb */ color: rgb(95, 18, 15);
/* oklch */ color: oklch(32.0% 0.110 27.7);
Tailwind
colors: {
  custom: {
    50: '#94574e',
    500: '#5f120f',
    950: '#000000',
  },
}
SCSS
$custom: #5f120f;
$custom-light: #94574e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f120f",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 15
  },
  "hsl": {
    "h": 2.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32036,
    "c": 0.11006,
    "h": 27.7
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#5F120F
secondary
#329498
accent
#E9EF38
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5F120F

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

Preview Lab → · Contrast checker → · Palette generator →

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