#511D23#511D23

#511D23 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.078 H 15.8°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#511D23
RGBrgb(81, 29, 35)
HSLhsl(353, 47%, 22%)
HSVhsv(353, 64%, 32%)
CMYKcmyk(0%, 64.2%, 56.8%, 68.2%)
CIE-LABlab(19.01, 24.95, 8.47)
CIE-LCHlch(19.01, 26.35, 18.74°)
OKLaboklab(31.15% 0.0751 0.0213)
OKLCHoklch(31.15% 0.078 15.8)
XYZxyz(4.1364, 2.7499, 1.9027)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D23 #1D514B
analogous
#511D3D #511D23 #51311D
triadic
#511D23 #23511D #1D2351
tetradic
#511D23 #3D511D #1D514B #311D51
square
#511D23 #3D511D #1D514B #311D51
split-complementary
#511D23 #1D5131 #1D3D51
monochromatic
#17080A #240D10 #511D23 #7E2D36 #AB3D4A

Accessibility & contrast

On white

13.55
#511D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511D23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D23
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D23#FFFFFF#000000##FFFFFF
##511D231.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292723
Deuteranopia (green-blind)
#363222
Tritanopia (blue-blind)
#59151F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d23;
/* rgb */ color: rgb(81, 29, 35);
/* oklch */ color: oklch(31.2% 0.078 15.8);
Tailwind
colors: {
  custom: {
    50: '#855b5d',
    500: '#511d23',
    950: '#000000',
  },
}
SCSS
$custom: #511d23;
$custom-light: #855b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#511d23",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 35
  },
  "hsl": {
    "h": 353.077,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31151,
    "c": 0.07805,
    "h": 15.8
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#511D23
secondary
#44867F
accent
#D7C751
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511D23

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

Preview Lab → · Contrast checker → · Palette generator →

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