#5F202A#5F202A

#5F202A is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.3% C 0.092 H 13.8°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#5F202A
RGBrgb(95, 32, 42)
HSLhsl(350, 50%, 25%)
HSVhsv(350, 66%, 37%)
CMYKcmyk(0%, 66.3%, 55.8%, 62.7%)
CIE-LABlab(22.42, 29.57, 8.70)
CIE-LCHlch(22.42, 30.83, 16.39°)
OKLaboklab(34.27% 0.0892 0.022)
OKLCHoklch(34.27% 0.092 13.8)
XYZxyz(5.6542, 3.6338, 2.5937)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F202A #205F55
analogous
#5F204A #5F202A #5F3520
triadic
#5F202A #2A5F20 #202A5F
tetradic
#5F202A #4A5F20 #205F55 #35205F
square
#5F202A #4A5F20 #205F55 #35205F
split-complementary
#5F202A #205F35 #204A5F
monochromatic
#17080A #311116 #5F202A #8D2F3E #BB3F52

Accessibility & contrast

On white

12.16
#5F202A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5F202A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F202A
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F202A#FFFFFF#000000##FFFFFF
##5F202A1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2D2A
Deuteranopia (green-blind)
#3F3A29
Tritanopia (blue-blind)
#681624
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f202a;
/* rgb */ color: rgb(95, 32, 42);
/* oklch */ color: oklch(34.3% 0.092 13.8);
Tailwind
colors: {
  custom: {
    50: '#905f63',
    500: '#5f202a',
    950: '#000000',
  },
}
SCSS
$custom: #5f202a;
$custom-light: #905f63;
$custom-dark: #000000;
JSON
{
  "hex": "#5f202a",
  "rgb": {
    "r": 95,
    "g": 32,
    "b": 42
  },
  "hsl": {
    "h": 350.476,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34274,
    "c": 0.09188,
    "h": 13.8
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#5F202A
secondary
#479387
accent
#D9C34F
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0505
muted
#7E7979

Preview Lab

Preview with #5F202A

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

Preview Lab → · Contrast checker → · Palette generator →

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