#511E1C#511E1C

#511E1C is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.1% C 0.077 H 24.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#511E1C
RGBrgb(81, 30, 28)
HSLhsl(2, 49%, 21%)
HSVhsv(2, 65%, 32%)
CMYKcmyk(0%, 63%, 65.4%, 68.2%)
CIE-LABlab(19.07, 23.75, 13.41)
CIE-LCHlch(19.07, 27.27, 29.45°)
OKLaboklab(31.14% 0.0701 0.0324)
OKLCHoklch(31.14% 0.077 24.8)
XYZxyz(4.0676, 2.7622, 1.4173)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E1C #1C4F51
analogous
#511C35 #511E1C #51391C
triadic
#511E1C #1C511E #1E1C51
tetradic
#511E1C #35511C #1C4F51 #391C51
square
#511E1C #35511C #1C4F51 #391C51
split-complementary
#511E1C #1C5139 #1C3551
monochromatic
#170808 #240D0C #511E1C #7E2F2C #AC403B

Accessibility & contrast

On white

13.53
#511E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E1C
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E1C#FFFFFF#000000##FFFFFF
##511E1C1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281B
Deuteranopia (green-blind)
#37321B
Tritanopia (blue-blind)
#59151E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511e1c;
/* rgb */ color: rgb(81, 30, 28);
/* oklch */ color: oklch(31.1% 0.077 24.8);
Tailwind
colors: {
  custom: {
    50: '#865c58',
    500: '#511e1c',
    950: '#000000',
  },
}
SCSS
$custom: #511e1c;
$custom-light: #865c58;
$custom-dark: #000000;
JSON
{
  "hex": "#511e1c",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 28
  },
  "hsl": {
    "h": 2.264,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31139,
    "c": 0.07722,
    "h": 24.8
  },
  "luminance": 0.02762
}

Semantic roles & 50–950 ramp

primary
#511E1C
secondary
#428487
accent
#D3D850
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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