#511C1E#511C1E

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

Color values

HEX#511C1E
RGBrgb(81, 28, 30)
HSLhsl(358, 49%, 21%)
HSVhsv(358, 65%, 32%)
CMYKcmyk(0%, 65.4%, 63%, 68.2%)
CIE-LABlab(18.69, 25.02, 11.53)
CIE-LCHlch(18.69, 27.55, 24.74°)
OKLaboklab(30.87% 0.0745 0.0283)
OKLCHoklch(30.87% 0.08 20.8)
XYZxyz(4.0433, 2.6741, 1.5313)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C1E #1C514F
analogous
#511C39 #511C1E #51351C
triadic
#511C1E #1E511C #1C1E51
tetradic
#511C1E #39511C #1C514F #351C51
square
#511C1E #39511C #1C514F #351C51
split-complementary
#511C1E #1C5135 #1C3951
monochromatic
#170808 #240C0D #511C1E #7E2C2F #AC3B40

Accessibility & contrast

On white

13.68
#511C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C1E
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C1E#FFFFFF#000000##FFFFFF
##511C1E1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29271E
Deuteranopia (green-blind)
#36321D
Tritanopia (blue-blind)
#59121D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511c1e;
/* rgb */ color: rgb(81, 28, 30);
/* oklch */ color: oklch(30.9% 0.080 20.8);
Tailwind
colors: {
  custom: {
    50: '#865b59',
    500: '#511c1e',
    950: '#000000',
  },
}
SCSS
$custom: #511c1e;
$custom-light: #865b59;
$custom-dark: #000000;
JSON
{
  "hex": "#511c1e",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 30
  },
  "hsl": {
    "h": 357.736,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30868,
    "c": 0.07966,
    "h": 20.8
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#511C1E
secondary
#428784
accent
#D8D350
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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