#511E29#511E29

#511E29 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.5% C 0.077 H 9.3°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#511E29
RGBrgb(81, 30, 41)
HSLhsl(347, 46%, 22%)
HSVhsv(347, 63%, 32%)
CMYKcmyk(0%, 63%, 49.4%, 68.2%)
CIE-LABlab(19.39, 25.06, 4.77)
CIE-LCHlch(19.39, 25.51, 10.78°)
OKLaboklab(31.48% 0.0761 0.0124)
OKLCHoklch(31.48% 0.077 9.3)
XYZxyz(4.2581, 2.8385, 2.4210)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E29 #1E5146
analogous
#511E43 #511E29 #512D1E
triadic
#511E29 #29511E #1E2951
tetradic
#511E29 #43511E #1E5146 #2D1E51
square
#511E29 #43511E #1E5146 #2D1E51
split-complementary
#511E29 #1E512D #1E4351
monochromatic
#16080B #240D12 #511E29 #7E2F40 #AA3F56

Accessibility & contrast

On white

13.40
#511E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511E29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E29
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E29#FFFFFF#000000##FFFFFF
##511E291.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282929
Deuteranopia (green-blind)
#363328
Tritanopia (blue-blind)
#581822
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511e29;
/* rgb */ color: rgb(81, 30, 41);
/* oklch */ color: oklch(31.5% 0.077 9.3);
Tailwind
colors: {
  custom: {
    50: '#855c62',
    500: '#511e29',
    950: '#000000',
  },
}
SCSS
$custom: #511e29;
$custom-light: #855c62;
$custom-dark: #000000;
JSON
{
  "hex": "#511e29",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 41
  },
  "hsl": {
    "h": 347.059,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31483,
    "c": 0.07709,
    "h": 9.3
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#511E29
secondary
#458678
accent
#D6B952
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511E29

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

Preview Lab → · Contrast checker → · Palette generator →

#511E29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva