#5F120E#5F120E

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

Color values

HEX#5F120E
RGBrgb(95, 18, 14)
HSLhsl(3, 74%, 21%)
HSVhsv(3, 85%, 37%)
CMYKcmyk(0%, 81.1%, 85.3%, 62.7%)
CIE-LABlab(19.63, 33.96, 23.68)
CIE-LCHlch(19.63, 41.40, 34.89°)
OKLaboklab(32.02% 0.0971 0.0521)
OKLCHoklch(32.02% 0.11 28.2)
XYZxyz(5.0155, 2.8980, 0.7107)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F120E #0E5B5F
analogous
#5F0E33 #5F120E #5F3B0E
triadic
#5F120E #0E5F12 #120E5F
tetradic
#5F120E #335F0E #0E5B5F #3B0E5F
square
#5F120E #335F0E #0E5B5F #3B0E5F
split-complementary
#5F120E #0E5F3B #0E335F
monochromatic
#1B0504 #2A0806 #5F120E #941C16 #CA261E

Accessibility & contrast

On white

13.30
#5F120E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F120E
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F120E#FFFFFF#000000##FFFFFF
##5F120E1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A250D
Deuteranopia (green-blind)
#3D360A
Tritanopia (blue-blind)
#690012
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f120e;
/* rgb */ color: rgb(95, 18, 14);
/* oklch */ color: oklch(32.0% 0.110 28.2);
Tailwind
colors: {
  custom: {
    50: '#94574d',
    500: '#5f120e',
    950: '#000000',
  },
}
SCSS
$custom: #5f120e;
$custom-light: #94574d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f120e",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 14
  },
  "hsl": {
    "h": 2.963,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32024,
    "c": 0.11022,
    "h": 28.2
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#5F120E
secondary
#309399
accent
#E8F137
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5F120E

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

Preview Lab → · Contrast checker → · Palette generator →

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