#511C1D#511C1D

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

Color values

HEX#511C1D
RGBrgb(81, 28, 29)
HSLhsl(359, 49%, 21%)
HSVhsv(359, 65%, 32%)
CMYKcmyk(0%, 65.4%, 64.2%, 68.2%)
CIE-LABlab(18.67, 24.94, 12.20)
CIE-LCHlch(18.67, 27.76, 26.07°)
OKLaboklab(30.85% 0.074 0.0297)
OKLCHoklch(30.85% 0.08 21.9)
XYZxyz(4.0307, 2.6691, 1.4651)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C1D #1C5150
analogous
#511C38 #511C1D #51361C
triadic
#511C1D #1D511C #1C1D51
tetradic
#511C1D #38511C #1C5150 #361C51
square
#511C1D #38511C #1C5150 #361C51
split-complementary
#511C1D #1C5136 #1C3851
monochromatic
#170808 #240C0D #511C1D #7E2C2D #AC3B3E

Accessibility & contrast

On white

13.69
#511C1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C1D
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C1D#FFFFFF#000000##FFFFFF
##511C1D1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511c1d;
/* rgb */ color: rgb(81, 28, 29);
/* oklch */ color: oklch(30.8% 0.080 21.9);
Tailwind
colors: {
  custom: {
    50: '#865b58',
    500: '#511c1d',
    950: '#000000',
  },
}
SCSS
$custom: #511c1d;
$custom-light: #865b58;
$custom-dark: #000000;
JSON
{
  "hex": "#511c1d",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 29
  },
  "hsl": {
    "h": 358.868,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30845,
    "c": 0.07976,
    "h": 21.9
  },
  "luminance": 0.02669
}

Semantic roles & 50–950 ramp

primary
#511C1D
secondary
#428785
accent
#D8D650
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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