#511C1B#511C1B

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

Color values

HEX#511C1B
RGBrgb(81, 28, 27)
HSLhsl(1, 50%, 21%)
HSVhsv(1, 67%, 32%)
CMYKcmyk(0%, 65.4%, 66.7%, 68.2%)
CIE-LABlab(18.63, 24.77, 13.53)
CIE-LCHlch(18.63, 28.23, 28.65°)
OKLaboklab(30.8% 0.0731 0.0326)
OKLCHoklch(30.8% 0.08 24.1)
XYZxyz(4.0068, 2.6595, 1.3390)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C1B #1B5051
analogous
#511B35 #511C1B #51371B
triadic
#511C1B #1B511C #1C1B51
tetradic
#511C1B #35511B #1B5051 #371B51
square
#511C1B #35511B #1B5051 #371B51
split-complementary
#511C1B #1B5137 #1B3551
monochromatic
#170808 #230C0C #511C1B #7F2C2A #AD3C3A

Accessibility & contrast

On white

13.71
#511C1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511C1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C1B
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C1B#FFFFFF#000000##FFFFFF
##511C1B1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261B
Deuteranopia (green-blind)
#37321A
Tritanopia (blue-blind)
#59121C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511c1b;
/* rgb */ color: rgb(81, 28, 27);
/* oklch */ color: oklch(30.8% 0.080 24.1);
Tailwind
colors: {
  custom: {
    50: '#865b57',
    500: '#511c1b',
    950: '#000000',
  },
}
SCSS
$custom: #511c1b;
$custom-light: #865b57;
$custom-dark: #000000;
JSON
{
  "hex": "#511c1b",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 27
  },
  "hsl": {
    "h": 1.111,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.308,
    "c": 0.08004,
    "h": 24.1
  },
  "luminance": 0.02659
}

Semantic roles & 50–950 ramp

primary
#511C1B
secondary
#418687
accent
#D7DA4E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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