#511E2A#511E2A

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

Color values

HEX#511E2A
RGBrgb(81, 30, 42)
HSLhsl(346, 46%, 22%)
HSVhsv(346, 63%, 32%)
CMYKcmyk(0%, 63%, 48.1%, 68.2%)
CIE-LABlab(19.41, 25.18, 4.11)
CIE-LCHlch(19.41, 25.51, 9.27°)
OKLaboklab(31.51% 0.0765 0.0108)
OKLCHoklch(31.51% 0.077 8)
XYZxyz(4.2758, 2.8455, 2.5141)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E2A #1E5145
analogous
#511E44 #511E2A #512C1E
triadic
#511E2A #2A511E #1E2A51
tetradic
#511E2A #44511E #1E5145 #2C1E51
square
#511E2A #44511E #1E5145 #2C1E51
split-complementary
#511E2A #1E512C #1E4451
monochromatic
#16080C #240D13 #511E2A #7E2F41 #AA3F58

Accessibility & contrast

On white

13.38
#511E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511E2A
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E2A#FFFFFF#000000##FFFFFF
##511E2A1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292A
Deuteranopia (green-blind)
#353329
Tritanopia (blue-blind)
#581823
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511e2a;
/* rgb */ color: rgb(81, 30, 42);
/* oklch */ color: oklch(31.5% 0.077 8.0);
Tailwind
colors: {
  custom: {
    50: '#855c63',
    500: '#511e2a',
    950: '#000000',
  },
}
SCSS
$custom: #511e2a;
$custom-light: #855c63;
$custom-dark: #000000;
JSON
{
  "hex": "#511e2a",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 345.882,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31515,
    "c": 0.07728,
    "h": 8
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#511E2A
secondary
#458677
accent
#D6B752
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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