#5F272C#5F272C

#5F272C is a dark, moderate red. Relative luminance 0.041; OKLCH L 35.4% C 0.082 H 16.8°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#5F272C
RGBrgb(95, 39, 44)
HSLhsl(355, 42%, 26%)
HSVhsv(355, 59%, 37%)
CMYKcmyk(0%, 58.9%, 53.7%, 62.7%)
CIE-LABlab(23.89, 26.03, 9.35)
CIE-LCHlch(23.89, 27.66, 19.75°)
OKLaboklab(35.39% 0.0783 0.0236)
OKLCHoklch(35.39% 0.082 16.8)
XYZxyz(5.8999, 4.0665, 2.8566)
Luminance0.0407 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F272C #275F5A
analogous
#5F2748 #5F272C #5F3E27
triadic
#5F272C #2C5F27 #272C5F
tetradic
#5F272C #485F27 #275F5A #3E275F
square
#5F272C #485F27 #275F5A #3E275F
split-complementary
#5F272C #275F3E #27485F
monochromatic
#16090A #341518 #5F272C #8A3940 #B54B55

Accessibility & contrast

On white

11.58
#5F272C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5F272C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F272C
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F272C#FFFFFF#000000##FFFFFF
##5F272C1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322C
Deuteranopia (green-blind)
#423D2B
Tritanopia (blue-blind)
#681F29
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f272c;
/* rgb */ color: rgb(95, 39, 44);
/* oklch */ color: oklch(35.4% 0.082 16.8);
Tailwind
colors: {
  custom: {
    50: '#906365',
    500: '#5f272c',
    950: '#000000',
  },
}
SCSS
$custom: #5f272c;
$custom-light: #906365;
$custom-dark: #000000;
JSON
{
  "hex": "#5f272c",
  "rgb": {
    "r": 95,
    "g": 39,
    "b": 44
  },
  "hsl": {
    "h": 354.643,
    "s": 41.791,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35393,
    "c": 0.0818,
    "h": 16.8
  },
  "luminance": 0.04066
}

Semantic roles & 50–950 ramp

primary
#5F272C
secondary
#50928C
accent
#D2C756
background
#F9F6F6
surface
#F1EBEB
border
#CBC6C6
text
#0D0505
muted
#7E7A7A

Preview Lab

Preview with #5F272C

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

Preview Lab → · Contrast checker → · Palette generator →

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