#5F2E2E#5F2E2E

#5F2E2E is a dark, moderate red. Relative luminance 0.046; OKLCH L 36.6% C 0.071 H 21.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#5F2E2E
RGBrgb(95, 46, 46)
HSLhsl(0, 35%, 28%)
HSVhsv(0, 52%, 37%)
CMYKcmyk(0%, 51.6%, 51.6%, 62.7%)
CIE-LABlab(25.52, 22.21, 10.23)
CIE-LCHlch(25.52, 24.45, 24.73°)
OKLaboklab(36.64% 0.0666 0.0258)
OKLCHoklch(36.64% 0.071 21.2)
XYZxyz(6.1899, 4.5848, 3.1432)
Luminance0.0458 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2E2E #2E5F5F
analogous
#5F2E46 #5F2E2E #5F462E
triadic
#5F2E2E #2E5F2E #2E2E5F
tetradic
#5F2E2E #465F2E #2E5F5F #462E5F
square
#5F2E2E #465F2E #2E5F5F #462E5F
split-complementary
#5F2E2E #2E5F46 #2E465F
monochromatic
#150A0A #361A1A #5F2E2E #884242 #AF5959

Accessibility & contrast

On white

10.96
#5F2E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5F2E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2E2E
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2E2E#FFFFFF#000000##FFFFFF
##5F2E2E1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362E
Deuteranopia (green-blind)
#45402D
Tritanopia (blue-blind)
#67272E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5f2e2e;
/* rgb */ color: rgb(95, 46, 46);
/* oklch */ color: oklch(36.6% 0.071 21.2);
Tailwind
colors: {
  custom: {
    50: '#8f6866',
    500: '#5f2e2e',
    950: '#000000',
  },
}
SCSS
$custom: #5f2e2e;
$custom-light: #8f6866;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2e2e",
  "rgb": {
    "r": 95,
    "g": 46,
    "b": 46
  },
  "hsl": {
    "h": 0,
    "s": 34.752,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36642,
    "c": 0.07146,
    "h": 21.2
  },
  "luminance": 0.04584
}

Semantic roles & 50–950 ramp

primary
#5F2E2E
secondary
#589191
accent
#CBCB5D
background
#F9F6F6
surface
#F1EBEB
border
#CBC6C6
text
#0D0606
muted
#7E7A7A

Preview Lab

Preview with #5F2E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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