#5F272D#5F272D

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

Color values

HEX#5F272D
RGBrgb(95, 39, 45)
HSLhsl(354, 42%, 26%)
HSVhsv(354, 59%, 37%)
CMYKcmyk(0%, 58.9%, 52.6%, 62.7%)
CIE-LABlab(23.91, 26.14, 8.70)
CIE-LCHlch(23.91, 27.55, 18.42°)
OKLaboklab(35.42% 0.0788 0.0221)
OKLCHoklch(35.42% 0.082 15.7)
XYZxyz(5.9189, 4.0741, 2.9568)
Luminance0.0407 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F272D #275F59
analogous
#5F2749 #5F272D #5F3D27
triadic
#5F272D #2D5F27 #272D5F
tetradic
#5F272D #495F27 #275F59 #3D275F
square
#5F272D #495F27 #275F59 #3D275F
split-complementary
#5F272D #275F3D #27495F
monochromatic
#16090A #341518 #5F272D #8A3942 #B54B57

Accessibility & contrast

On white

11.57
#5F272D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F272D
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F272D#FFFFFF#000000##FFFFFF
##5F272D1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322D
Deuteranopia (green-blind)
#413D2C
Tritanopia (blue-blind)
#681F29
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f272d;
/* rgb */ color: rgb(95, 39, 45);
/* oklch */ color: oklch(35.4% 0.082 15.7);
Tailwind
colors: {
  custom: {
    50: '#906365',
    500: '#5f272d',
    950: '#000000',
  },
}
SCSS
$custom: #5f272d;
$custom-light: #906365;
$custom-dark: #000000;
JSON
{
  "hex": "#5f272d",
  "rgb": {
    "r": 95,
    "g": 39,
    "b": 45
  },
  "hsl": {
    "h": 353.571,
    "s": 41.791,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3542,
    "c": 0.08181,
    "h": 15.7
  },
  "luminance": 0.04073
}

Semantic roles & 50–950 ramp

primary
#5F272D
secondary
#50928B
accent
#D2C456
background
#F9F6F6
surface
#F1EBEB
border
#CBC6C6
text
#0D0505
muted
#7E7A7A

Preview Lab

Preview with #5F272D

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

Preview Lab → · Contrast checker → · Palette generator →

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