#511C24#511C24

#511C24 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.0% C 0.080 H 13.9°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#511C24
RGBrgb(81, 28, 36)
HSLhsl(351, 49%, 21%)
HSVhsv(351, 65%, 32%)
CMYKcmyk(0%, 65.4%, 55.6%, 68.2%)
CIE-LABlab(18.83, 25.60, 7.52)
CIE-LCHlch(18.83, 26.68, 16.36°)
OKLaboklab(31.02% 0.0773 0.0191)
OKLCHoklch(31.02% 0.08 13.9)
XYZxyz(4.1274, 2.7077, 1.9740)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C24 #1C5149
analogous
#511C3F #511C24 #512F1C
triadic
#511C24 #24511C #1C2451
tetradic
#511C24 #3F511C #1C5149 #2F1C51
square
#511C24 #3F511C #1C5149 #2F1C51
split-complementary
#511C24 #1C512F #1C3F51
monochromatic
#17080A #240C10 #511C24 #7E2C38 #AC3B4C

Accessibility & contrast

On white

13.62
#511C24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511C24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C24
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C24#FFFFFF#000000##FFFFFF
##511C241.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282724
Deuteranopia (green-blind)
#353223
Tritanopia (blue-blind)
#59141F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511c24;
/* rgb */ color: rgb(81, 28, 36);
/* oklch */ color: oklch(31.0% 0.080 13.9);
Tailwind
colors: {
  custom: {
    50: '#855b5e',
    500: '#511c24',
    950: '#000000',
  },
}
SCSS
$custom: #511c24;
$custom-light: #855b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#511c24",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 36
  },
  "hsl": {
    "h": 350.943,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31024,
    "c": 0.07958,
    "h": 13.9
  },
  "luminance": 0.02707
}

Semantic roles & 50–950 ramp

primary
#511C24
secondary
#42877C
accent
#D8C450
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511C24

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

Preview Lab → · Contrast checker → · Palette generator →

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