#5F2012#5F2012

#5F2012 is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.8% C 0.095 H 34.1°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#5F2012
RGBrgb(95, 32, 18)
HSLhsl(11, 68%, 22%)
HSVhsv(11, 81%, 37%)
CMYKcmyk(0%, 66.3%, 81.1%, 62.7%)
CIE-LABlab(21.98, 27.85, 24.05)
CIE-LCHlch(21.98, 36.80, 40.81°)
OKLaboklab(33.8% 0.079 0.0534)
OKLCHoklch(33.8% 0.095 34.1)
XYZxyz(5.3456, 3.5103, 0.9682)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2012 #12515F
analogous
#5F122B #5F2012 #5F4712
triadic
#5F2012 #125F20 #20125F
tetradic
#5F2012 #2B5F12 #12515F #47125F
square
#5F2012 #2B5F12 #12515F #47125F
split-complementary
#5F2012 #125F47 #122B5F
monochromatic
#1A0905 #2C0F08 #5F2012 #92311C #C64325

Accessibility & contrast

On white

12.34
#5F2012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5F2012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2012
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2012#FFFFFF#000000##FFFFFF
##5F20121.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C10
Deuteranopia (green-blind)
#413A10
Tritanopia (blue-blind)
#69101D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f2012;
/* rgb */ color: rgb(95, 32, 18);
/* oklch */ color: oklch(33.8% 0.095 34.1);
Tailwind
colors: {
  custom: {
    50: '#925e50',
    500: '#5f2012',
    950: '#000000',
  },
}
SCSS
$custom: #5f2012;
$custom-light: #925e50;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2012",
  "rgb": {
    "r": 95,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 10.909,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33801,
    "c": 0.09531,
    "h": 34.1
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#5F2012
secondary
#368597
accent
#CBEB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F2012

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

Preview Lab → · Contrast checker → · Palette generator →

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