#5F282F#5F282F

#5F282F is a dark, moderate red. Relative luminance 0.042; OKLCH L 35.6% C 0.080 H 14.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#5F282F
RGBrgb(95, 40, 47)
HSLhsl(352, 41%, 26%)
HSVhsv(352, 58%, 37%)
CMYKcmyk(0%, 57.9%, 50.5%, 62.7%)
CIE-LABlab(24.18, 25.80, 7.72)
CIE-LCHlch(24.18, 26.92, 16.66°)
OKLaboklab(35.64% 0.0779 0.0197)
OKLCHoklch(35.64% 0.08 14.2)
XYZxyz(5.9916, 4.1564, 3.1755)
Luminance0.0416 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F282F #285F58
analogous
#5F284B #5F282F #5F3D28
triadic
#5F282F #2F5F28 #282F5F
tetradic
#5F282F #4B5F28 #285F58 #3D285F
square
#5F282F #4B5F28 #285F58 #3D285F
split-complementary
#5F282F #285F3D #284B5F
monochromatic
#16090B #34161A #5F282F #8A3A44 #B44D5A

Accessibility & contrast

On white

11.47
#5F282F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5F282F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F282F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F282F#FFFFFF#000000##FFFFFF
##5F282F1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332F
Deuteranopia (green-blind)
#423E2E
Tritanopia (blue-blind)
#67212B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f282f;
/* rgb */ color: rgb(95, 40, 47);
/* oklch */ color: oklch(35.6% 0.080 14.2);
Tailwind
colors: {
  custom: {
    50: '#906467',
    500: '#5f282f',
    950: '#000000',
  },
}
SCSS
$custom: #5f282f;
$custom-light: #906467;
$custom-dark: #000000;
JSON
{
  "hex": "#5f282f",
  "rgb": {
    "r": 95,
    "g": 40,
    "b": 47
  },
  "hsl": {
    "h": 352.364,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35638,
    "c": 0.08037,
    "h": 14.2
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#5F282F
secondary
#51928A
accent
#D1C157
background
#F9F6F6
surface
#F1EBEB
border
#CBC6C6
text
#0D0506
muted
#7E7A7A

Preview Lab

Preview with #5F282F

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

Preview Lab → · Contrast checker → · Palette generator →

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