#5F2212#5F2212

#5F2212 is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.1% C 0.093 H 35.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#5F2212
RGBrgb(95, 34, 18)
HSLhsl(12, 68%, 22%)
HSVhsv(12, 81%, 37%)
CMYKcmyk(0%, 64.2%, 81.1%, 62.7%)
CIE-LABlab(22.38, 26.81, 24.47)
CIE-LCHlch(22.38, 36.30, 42.39°)
OKLaboklab(34.1% 0.0757 0.0543)
OKLCHoklch(34.1% 0.093 35.6)
XYZxyz(5.4011, 3.6214, 0.9867)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2212 #124F5F
analogous
#5F1228 #5F2212 #5F4912
triadic
#5F2212 #125F22 #22125F
tetradic
#5F2212 #285F12 #124F5F #49125F
square
#5F2212 #285F12 #124F5F #49125F
split-complementary
#5F2212 #125F49 #12285F
monochromatic
#1A0905 #2C1008 #5F2212 #92341C #C64725

Accessibility & contrast

On white

12.18
#5F2212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5F2212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2212
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2212#FFFFFF#000000##FFFFFF
##5F22121.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D10
Deuteranopia (green-blind)
#423B10
Tritanopia (blue-blind)
#69141F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f2212;
/* rgb */ color: rgb(95, 34, 18);
/* oklch */ color: oklch(34.1% 0.093 35.6);
Tailwind
colors: {
  custom: {
    50: '#926050',
    500: '#5f2212',
    950: '#000000',
  },
}
SCSS
$custom: #5f2212;
$custom-light: #926050;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2212",
  "rgb": {
    "r": 95,
    "g": 34,
    "b": 18
  },
  "hsl": {
    "h": 12.468,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.341,
    "c": 0.09317,
    "h": 35.6
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#5F2212
secondary
#368397
accent
#C7EB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0502
muted
#7E7978

Preview Lab

Preview with #5F2212

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

Preview Lab → · Contrast checker → · Palette generator →

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