#511D26#511D26

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

Color values

HEX#511D26
RGBrgb(81, 29, 38)
HSLhsl(350, 47%, 22%)
HSVhsv(350, 64%, 32%)
CMYKcmyk(0%, 64.2%, 53.1%, 68.2%)
CIE-LABlab(19.09, 25.27, 6.47)
CIE-LCHlch(19.09, 26.09, 14.36°)
OKLaboklab(31.24% 0.0765 0.0166)
OKLCHoklch(31.24% 0.078 12.2)
XYZxyz(4.1829, 2.7685, 2.1474)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D26 #1D5148
analogous
#511D40 #511D26 #512E1D
triadic
#511D26 #26511D #1D2651
tetradic
#511D26 #40511D #1D5148 #2E1D51
square
#511D26 #40511D #1D5148 #2E1D51
split-complementary
#511D26 #1D512E #1D4051
monochromatic
#17080B #240D11 #511D26 #7E2D3B #AB3D50

Accessibility & contrast

On white

13.52
#511D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D26
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D26#FFFFFF#000000##FFFFFF
##511D261.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282826
Deuteranopia (green-blind)
#363225
Tritanopia (blue-blind)
#591620
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d26;
/* rgb */ color: rgb(81, 29, 38);
/* oklch */ color: oklch(31.2% 0.078 12.2);
Tailwind
colors: {
  custom: {
    50: '#855c60',
    500: '#511d26',
    950: '#000000',
  },
}
SCSS
$custom: #511d26;
$custom-light: #855c60;
$custom-dark: #000000;
JSON
{
  "hex": "#511d26",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 38
  },
  "hsl": {
    "h": 349.615,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31236,
    "c": 0.07823,
    "h": 12.2
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#511D26
secondary
#44867B
accent
#D7C051
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511D26

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

Preview Lab → · Contrast checker → · Palette generator →

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