#511C1C#511C1C

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

Color values

HEX#511C1C
RGBrgb(81, 28, 28)
HSLhsl(0, 49%, 21%)
HSVhsv(0, 65%, 32%)
CMYKcmyk(0%, 65.4%, 65.4%, 68.2%)
CIE-LABlab(18.65, 24.85, 12.87)
CIE-LCHlch(18.65, 27.99, 27.37°)
OKLaboklab(30.82% 0.0736 0.0312)
OKLCHoklch(30.82% 0.08 23)
XYZxyz(4.0186, 2.6642, 1.4010)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C1C #1C5151
analogous
#511C37 #511C1C #51371C
triadic
#511C1C #1C511C #1C1C51
tetradic
#511C1C #37511C #1C5151 #371C51
square
#511C1C #37511C #1C5151 #371C51
split-complementary
#511C1C #1C5137 #1C3751
monochromatic
#170808 #240C0C #511C1C #7E2C2C #AC3B3B

Accessibility & contrast

On white

13.70
#511C1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C1C
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C1C#FFFFFF#000000##FFFFFF
##511C1C1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511c1c;
/* rgb */ color: rgb(81, 28, 28);
/* oklch */ color: oklch(30.8% 0.080 23.0);
Tailwind
colors: {
  custom: {
    50: '#865b58',
    500: '#511c1c',
    950: '#000000',
  },
}
SCSS
$custom: #511c1c;
$custom-light: #865b58;
$custom-dark: #000000;
JSON
{
  "hex": "#511c1c",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 28
  },
  "hsl": {
    "h": 0,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30822,
    "c": 0.07989,
    "h": 23
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#511C1C
secondary
#428787
accent
#D8D850
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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