#511D1E#511D1E

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

Color values

HEX#511D1E
RGBrgb(81, 29, 30)
HSLhsl(359, 47%, 22%)
HSVhsv(359, 64%, 32%)
CMYKcmyk(0%, 64.2%, 63%, 68.2%)
CIE-LABlab(18.90, 24.48, 11.80)
CIE-LCHlch(18.90, 27.18, 25.75°)
OKLaboklab(31.02% 0.0728 0.0289)
OKLCHoklch(31.02% 0.078 21.7)
XYZxyz(4.0674, 2.7223, 1.5393)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D1E #1D5150
analogous
#511D38 #511D1E #51361D
triadic
#511D1E #1E511D #1D1E51
tetradic
#511D1E #38511D #1D5150 #361D51
square
#511D1E #38511D #1D5150 #361D51
split-complementary
#511D1E #1D5136 #1D3851
monochromatic
#170808 #240D0D #511D1E #7E2D2F #AB3D3F

Accessibility & contrast

On white

13.60
#511D1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D1E
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D1E#FFFFFF#000000##FFFFFF
##511D1E1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271E
Deuteranopia (green-blind)
#37321D
Tritanopia (blue-blind)
#59141E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d1e;
/* rgb */ color: rgb(81, 29, 30);
/* oklch */ color: oklch(31.0% 0.078 21.7);
Tailwind
colors: {
  custom: {
    50: '#865b59',
    500: '#511d1e',
    950: '#000000',
  },
}
SCSS
$custom: #511d1e;
$custom-light: #865b59;
$custom-dark: #000000;
JSON
{
  "hex": "#511d1e",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 30
  },
  "hsl": {
    "h": 358.846,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31024,
    "c": 0.07828,
    "h": 21.7
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#511D1E
secondary
#448685
accent
#D7D451
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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