#5F2A2E#5F2A2E

#5F2A2E is a dark, moderate red. Relative luminance 0.043; OKLCH L 35.9% C 0.077 H 17.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#5F2A2E
RGBrgb(95, 42, 46)
HSLhsl(355, 39%, 27%)
HSVhsv(355, 56%, 37%)
CMYKcmyk(0%, 55.8%, 51.6%, 62.7%)
CIE-LABlab(24.60, 24.55, 8.97)
CIE-LCHlch(24.60, 26.13, 20.07°)
OKLaboklab(35.94% 0.0739 0.0228)
OKLCHoklch(35.94% 0.077 17.1)
XYZxyz(6.0408, 4.2867, 3.0935)
Luminance0.0429 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2A2E #2A5F5B
analogous
#5F2A49 #5F2A2E #5F412A
triadic
#5F2A2E #2E5F2A #2A2E5F
tetradic
#5F2A2E #495F2A #2A5F5B #412A5F
square
#5F2A2E #495F2A #2A5F5B #412A5F
split-complementary
#5F2A2E #2A5F41 #2A495F
monochromatic
#15090A #351719 #5F2A2E #893D43 #B25159

Accessibility & contrast

On white

11.31
#5F2A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5F2A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2A2E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2A2E#FFFFFF#000000##FFFFFF
##5F2A2E1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35342E
Deuteranopia (green-blind)
#433E2D
Tritanopia (blue-blind)
#67232C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5f2a2e;
/* rgb */ color: rgb(95, 42, 46);
/* oklch */ color: oklch(35.9% 0.077 17.1);
Tailwind
colors: {
  custom: {
    50: '#8f6566',
    500: '#5f2a2e',
    950: '#000000',
  },
}
SCSS
$custom: #5f2a2e;
$custom-light: #8f6566;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2a2e",
  "rgb": {
    "r": 95,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 355.472,
    "s": 38.686,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35944,
    "c": 0.07732,
    "h": 17.1
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#5F2A2E
secondary
#53918D
accent
#CFC659
background
#F9F6F6
surface
#F1EBEB
border
#CBC6C6
text
#0D0606
muted
#7E7A7A

Preview Lab

Preview with #5F2A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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