#5F201C#5F201C

#5F201C is a dark, moderate red. Relative luminance 0.035; OKLCH L 34.0% C 0.093 H 26.8°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#5F201C
RGBrgb(95, 32, 28)
HSLhsl(4, 54%, 24%)
HSVhsv(4, 71%, 37%)
CMYKcmyk(0%, 66.3%, 70.5%, 62.7%)
CIE-LABlab(22.13, 28.42, 17.82)
CIE-LCHlch(22.13, 33.55, 32.09°)
OKLaboklab(33.96% 0.083 0.0419)
OKLCHoklch(33.96% 0.093 26.8)
XYZxyz(5.4460, 3.5505, 1.4969)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F201C #1C5B5F
analogous
#5F1C3A #5F201C #5F421C
triadic
#5F201C #1C5F20 #201C5F
tetradic
#5F201C #3A5F1C #1C5B5F #421C5F
square
#5F201C #3A5F1C #1C5B5F #421C5F
split-complementary
#5F201C #1C5F42 #1C3A5F
monochromatic
#180807 #30100E #5F201C #8E302A #BE4038

Accessibility & contrast

On white

12.28
#5F201C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5F201C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F201C
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F201C#FFFFFF#000000##FFFFFF
##5F201C1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C1B
Deuteranopia (green-blind)
#403A1A
Tritanopia (blue-blind)
#69121F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f201c;
/* rgb */ color: rgb(95, 32, 28);
/* oklch */ color: oklch(34.0% 0.093 26.8);
Tailwind
colors: {
  custom: {
    50: '#925f58',
    500: '#5f201c',
    950: '#000000',
  },
}
SCSS
$custom: #5f201c;
$custom-light: #925f58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f201c",
  "rgb": {
    "r": 95,
    "g": 32,
    "b": 28
  },
  "hsl": {
    "h": 3.582,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33956,
    "c": 0.09294,
    "h": 26.8
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#5F201C
secondary
#428F94
accent
#D5DE4A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F201C

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

Preview Lab → · Contrast checker → · Palette generator →

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