#5F2A23#5F2A23

#5F2A23 is a dark, moderate red. Relative luminance 0.042; OKLCH L 35.7% C 0.079 H 29.3°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#5F2A23
RGBrgb(95, 42, 35)
HSLhsl(7, 46%, 25%)
HSVhsv(7, 63%, 37%)
CMYKcmyk(0%, 55.8%, 63.2%, 62.7%)
CIE-LABlab(24.36, 23.47, 15.99)
CIE-LCHlch(24.36, 28.40, 34.27°)
OKLaboklab(35.68% 0.0689 0.0386)
OKLCHoklch(35.68% 0.079 29.3)
XYZxyz(5.8511, 4.2109, 2.0944)
Luminance0.0421 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2A23 #23585F
analogous
#5F233A #5F2A23 #5F4823
triadic
#5F2A23 #235F2A #2A235F
tetradic
#5F2A23 #3A5F23 #23585F #48235F
square
#5F2A23 #3A5F23 #23585F #48235F
split-complementary
#5F2A23 #235F48 #233A5F
monochromatic
#160A08 #321613 #5F2A23 #8C3E33 #B85244

Accessibility & contrast

On white

11.40
#5F2A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#5F2A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2A23
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2A23#FFFFFF#000000##FFFFFF
##5F2A231.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373322
Deuteranopia (green-blind)
#443E22
Tritanopia (blue-blind)
#682128
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5f2a23;
/* rgb */ color: rgb(95, 42, 35);
/* oklch */ color: oklch(35.7% 0.079 29.3);
Tailwind
colors: {
  custom: {
    50: '#90655e',
    500: '#5f2a23',
    950: '#000000',
  },
}
SCSS
$custom: #5f2a23;
$custom-light: #90655e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2a23",
  "rgb": {
    "r": 95,
    "g": 42,
    "b": 35
  },
  "hsl": {
    "h": 7,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35683,
    "c": 0.07899,
    "h": 29.3
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

primary
#5F2A23
secondary
#4B8A93
accent
#C6D652
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0604
muted
#7E7A79

Preview Lab

Preview with #5F2A23

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

Preview Lab → · Contrast checker → · Palette generator →

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