#5F2129#5F2129

#5F2129 is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.4% C 0.090 H 15.5°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#5F2129
RGBrgb(95, 33, 41)
HSLhsl(352, 48%, 25%)
HSVhsv(352, 65%, 37%)
CMYKcmyk(0%, 65.3%, 56.8%, 62.7%)
CIE-LABlab(22.59, 28.97, 9.61)
CIE-LCHlch(22.59, 30.52, 18.36°)
OKLaboklab(34.39% 0.0871 0.0241)
OKLCHoklch(34.39% 0.09 15.5)
XYZxyz(5.6639, 3.6814, 2.5097)
Luminance0.0368 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2129 #215F57
analogous
#5F2148 #5F2129 #5F3821
triadic
#5F2129 #295F21 #21295F
tetradic
#5F2129 #485F21 #215F57 #38215F
square
#5F2129 #485F21 #215F57 #38215F
split-complementary
#5F2129 #215F38 #21485F
monochromatic
#17080A #321115 #5F2129 #8C313D #BA4150

Accessibility & contrast

On white

12.10
#5F2129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5F2129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2129
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2129#FFFFFF#000000##FFFFFF
##5F21291.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E29
Deuteranopia (green-blind)
#3F3B28
Tritanopia (blue-blind)
#681724
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f2129;
/* rgb */ color: rgb(95, 33, 41);
/* oklch */ color: oklch(34.4% 0.090 15.5);
Tailwind
colors: {
  custom: {
    50: '#906062',
    500: '#5f2129',
    950: '#000000',
  },
}
SCSS
$custom: #5f2129;
$custom-light: #906062;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2129",
  "rgb": {
    "r": 95,
    "g": 33,
    "b": 41
  },
  "hsl": {
    "h": 352.258,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34391,
    "c": 0.09042,
    "h": 15.5
  },
  "luminance": 0.03681
}

Semantic roles & 50–950 ramp

primary
#5F2129
secondary
#49938A
accent
#D8C650
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0505
muted
#7E7979

Preview Lab

Preview with #5F2129

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

Preview Lab → · Contrast checker → · Palette generator →

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