#511C1F#511C1F

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

Color values

HEX#511C1F
RGBrgb(81, 28, 31)
HSLhsl(357, 49%, 21%)
HSVhsv(357, 65%, 32%)
CMYKcmyk(0%, 65.4%, 61.7%, 68.2%)
CIE-LABlab(18.71, 25.11, 10.86)
CIE-LCHlch(18.71, 27.36, 23.39°)
OKLaboklab(30.89% 0.0749 0.0268)
OKLCHoklch(30.89% 0.08 19.7)
XYZxyz(4.0563, 2.6793, 1.5996)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C1F #1C514E
analogous
#511C3A #511C1F #51341C
triadic
#511C1F #1F511C #1C1F51
tetradic
#511C1F #3A511C #1C514E #341C51
square
#511C1F #3A511C #1C514E #341C51
split-complementary
#511C1F #1C5134 #1C3A51
monochromatic
#170809 #240C0E #511C1F #7E2C30 #AC3B42

Accessibility & contrast

On white

13.67
#511C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C1F
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C1F#FFFFFF#000000##FFFFFF
##511C1F1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29271F
Deuteranopia (green-blind)
#36321E
Tritanopia (blue-blind)
#59131D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511c1f;
/* rgb */ color: rgb(81, 28, 31);
/* oklch */ color: oklch(30.9% 0.080 19.7);
Tailwind
colors: {
  custom: {
    50: '#865b5a',
    500: '#511c1f',
    950: '#000000',
  },
}
SCSS
$custom: #511c1f;
$custom-light: #865b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#511c1f",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 31
  },
  "hsl": {
    "h": 356.604,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30892,
    "c": 0.07958,
    "h": 19.7
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#511C1F
secondary
#428783
accent
#D8D050
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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