#511D28#511D28

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

Color values

HEX#511D28
RGBrgb(81, 29, 40)
HSLhsl(347, 47%, 22%)
HSVhsv(347, 64%, 32%)
CMYKcmyk(0%, 64.2%, 50.6%, 68.2%)
CIE-LABlab(19.15, 25.50, 5.14)
CIE-LCHlch(19.15, 26.01, 11.39°)
OKLaboklab(31.3% 0.0774 0.0133)
OKLCHoklch(31.3% 0.079 9.8)
XYZxyz(4.2160, 2.7817, 2.3220)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D28 #1D5146
analogous
#511D42 #511D28 #512C1D
triadic
#511D28 #28511D #1D2851
tetradic
#511D28 #42511D #1D5146 #2C1D51
square
#511D28 #42511D #1D5146 #2C1D51
split-complementary
#511D28 #1D512C #1D4251
monochromatic
#17080B #240D12 #511D28 #7E2D3E #AB3D55

Accessibility & contrast

On white

13.49
#511D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D28
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D28#FFFFFF#000000##FFFFFF
##511D281.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282828
Deuteranopia (green-blind)
#353227
Tritanopia (blue-blind)
#581621
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d28;
/* rgb */ color: rgb(81, 29, 40);
/* oklch */ color: oklch(31.3% 0.079 9.8);
Tailwind
colors: {
  custom: {
    50: '#855c61',
    500: '#511d28',
    950: '#000000',
  },
}
SCSS
$custom: #511d28;
$custom-light: #855c61;
$custom-dark: #000000;
JSON
{
  "hex": "#511d28",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 40
  },
  "hsl": {
    "h": 347.308,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31296,
    "c": 0.0785,
    "h": 9.8
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#511D28
secondary
#448678
accent
#D7BB51
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511D28

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

Preview Lab → · Contrast checker → · Palette generator →

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