#5F2213#5F2213

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

Color values

HEX#5F2213
RGBrgb(95, 34, 19)
HSLhsl(12, 67%, 22%)
HSVhsv(12, 80%, 37%)
CMYKcmyk(0%, 64.2%, 80%, 62.7%)
CIE-LABlab(22.39, 26.86, 23.88)
CIE-LCHlch(22.39, 35.94, 41.64°)
OKLaboklab(34.11% 0.0761 0.0533)
OKLCHoklch(34.11% 0.093 35)
XYZxyz(5.4095, 3.6247, 1.0308)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2213 #13505F
analogous
#5F132A #5F2213 #5F4813
triadic
#5F2213 #135F22 #22135F
tetradic
#5F2213 #2A5F13 #13505F #48135F
square
#5F2213 #2A5F13 #13505F #48135F
split-complementary
#5F2213 #135F48 #132A5F
monochromatic
#1A0905 #2C1009 #5F2213 #92341D #C54727

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F2213#FFFFFF#000000##FFFFFF
##5F22131.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)
#332D11
Deuteranopia (green-blind)
#423B11
Tritanopia (blue-blind)
#69141F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f2213;
/* rgb */ color: rgb(95, 34, 19);
/* oklch */ color: oklch(34.1% 0.093 35.0);
Tailwind
colors: {
  custom: {
    50: '#926051',
    500: '#5f2213',
    950: '#000000',
  },
}
SCSS
$custom: #5f2213;
$custom-light: #926051;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2213",
  "rgb": {
    "r": 95,
    "g": 34,
    "b": 19
  },
  "hsl": {
    "h": 11.842,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34113,
    "c": 0.09289,
    "h": 35
  },
  "luminance": 0.03624
}

Semantic roles & 50–950 ramp

primary
#5F2213
secondary
#378497
accent
#C8EA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0502
muted
#7E7978

Preview Lab

Preview with #5F2213

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

Preview Lab → · Contrast checker → · Palette generator →

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