#5F2512#5F2512

#5F2512 is a dark, moderate red. Relative luminance 0.038; OKLCH L 34.6% C 0.090 H 38.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#5F2512
RGBrgb(95, 37, 18)
HSLhsl(15, 68%, 22%)
HSVhsv(15, 81%, 37%)
CMYKcmyk(0%, 61.1%, 81.1%, 62.7%)
CIE-LABlab(23.00, 25.18, 25.13)
CIE-LCHlch(23.00, 35.57, 44.94°)
OKLaboklab(34.57% 0.0707 0.0557)
OKLCHoklch(34.57% 0.09 38.2)
XYZxyz(5.4906, 3.8004, 1.0166)
Luminance0.0380 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2512 #124C5F
analogous
#5F1226 #5F2512 #5F4C12
triadic
#5F2512 #125F25 #25125F
tetradic
#5F2512 #265F12 #124C5F #4C125F
square
#5F2512 #265F12 #124C5F #4C125F
split-complementary
#5F2512 #125F4C #12265F
monochromatic
#1A0A05 #2C1108 #5F2512 #92391C #C64D25

Accessibility & contrast

On white

11.93
#5F2512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5F2512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2512
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2512#FFFFFF#000000##FFFFFF
##5F25121.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F10
Deuteranopia (green-blind)
#433C10
Tritanopia (blue-blind)
#691821
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f2512;
/* rgb */ color: rgb(95, 37, 18);
/* oklch */ color: oklch(34.6% 0.090 38.2);
Tailwind
colors: {
  custom: {
    50: '#926151',
    500: '#5f2512',
    950: '#000000',
  },
}
SCSS
$custom: #5f2512;
$custom-light: #926151;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2512",
  "rgb": {
    "r": 95,
    "g": 37,
    "b": 18
  },
  "hsl": {
    "h": 14.805,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34571,
    "c": 0.09002,
    "h": 38.2
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#5F2512
secondary
#367F97
accent
#C0EB3D
background
#F9F5F4
surface
#F2EAE7
border
#CCC6C3
text
#0E0502
muted
#7E7978

Preview Lab

Preview with #5F2512

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

Preview Lab → · Contrast checker → · Palette generator →

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