#511E23#511E23

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

Color values

HEX#511E23
RGBrgb(81, 30, 35)
HSLhsl(354, 46%, 22%)
HSVhsv(354, 63%, 32%)
CMYKcmyk(0%, 63%, 56.8%, 68.2%)
CIE-LABlab(19.22, 24.40, 8.75)
CIE-LCHlch(19.22, 25.92, 19.74°)
OKLaboklab(31.31% 0.0733 0.022)
OKLCHoklch(31.31% 0.077 16.7)
XYZxyz(4.1613, 2.7997, 1.9110)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E23 #1E514C
analogous
#511E3D #511E23 #51331E
triadic
#511E23 #23511E #1E2351
tetradic
#511E23 #3D511E #1E514C #331E51
square
#511E23 #3D511E #1E514C #331E51
split-complementary
#511E23 #1E5133 #1E3D51
monochromatic
#16080A #240D10 #511E23 #7E2F36 #AA3F4A

Accessibility & contrast

On white

13.46
#511E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E23
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E23#FFFFFF#000000##FFFFFF
##511E231.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2823
Deuteranopia (green-blind)
#373322
Tritanopia (blue-blind)
#591620
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511e23;
/* rgb */ color: rgb(81, 30, 35);
/* oklch */ color: oklch(31.3% 0.077 16.7);
Tailwind
colors: {
  custom: {
    50: '#855c5d',
    500: '#511e23',
    950: '#000000',
  },
}
SCSS
$custom: #511e23;
$custom-light: #855c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#511e23",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 35
  },
  "hsl": {
    "h": 354.118,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31309,
    "c": 0.07657,
    "h": 16.7
  },
  "luminance": 0.02799
}

Semantic roles & 50–950 ramp

primary
#511E23
secondary
#458680
accent
#D6C952
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511E23

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

Preview Lab → · Contrast checker → · Palette generator →

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