#511B1D#511B1D

#511B1D is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.7% C 0.081 H 21.0°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#511B1D
RGBrgb(81, 27, 29)
HSLhsl(358, 50%, 21%)
HSVhsv(358, 67%, 32%)
CMYKcmyk(0%, 66.7%, 64.2%, 68.2%)
CIE-LABlab(18.46, 25.48, 11.93)
CIE-LCHlch(18.46, 28.13, 25.10°)
OKLaboklab(30.69% 0.0757 0.0291)
OKLCHoklch(30.69% 0.081 21)
XYZxyz(4.0074, 2.6224, 1.4573)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B1D #1B514F
analogous
#511B38 #511B1D #51341B
triadic
#511B1D #1D511B #1B1D51
tetradic
#511B1D #38511B #1B514F #341B51
square
#511B1D #38511B #1B514F #341B51
split-complementary
#511B1D #1B5134 #1B3851
monochromatic
#170808 #230C0D #511B1D #7F2A2D #AD3A3E

Accessibility & contrast

On white

13.78
#511B1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511B1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B1D
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B1D#FFFFFF#000000##FFFFFF
##511B1D1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261D
Deuteranopia (green-blind)
#36311C
Tritanopia (blue-blind)
#59111C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511b1d;
/* rgb */ color: rgb(81, 27, 29);
/* oklch */ color: oklch(30.7% 0.081 21.0);
Tailwind
colors: {
  custom: {
    50: '#865a58',
    500: '#511b1d',
    950: '#000000',
  },
}
SCSS
$custom: #511b1d;
$custom-light: #865a58;
$custom-dark: #000000;
JSON
{
  "hex": "#511b1d",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 29
  },
  "hsl": {
    "h": 357.778,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30692,
    "c": 0.08112,
    "h": 21
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#511B1D
secondary
#418784
accent
#DAD44E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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