#511520#511520

#511520 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.089 H 13.7°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#511520
RGBrgb(81, 21, 32)
HSLhsl(349, 59%, 20%)
HSVhsv(349, 74%, 32%)
CMYKcmyk(0%, 74.1%, 60.5%, 68.2%)
CIE-LABlab(17.42, 28.75, 8.41)
CIE-LCHlch(17.42, 29.96, 16.31°)
OKLaboklab(29.93% 0.0867 0.0211)
OKLCHoklch(29.93% 0.089 13.7)
XYZxyz(3.9226, 2.3905, 1.6211)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511520 #155146
analogous
#51153E #511520 #512815
triadic
#511520 #205115 #152051
tetradic
#511520 #3E5115 #155146 #281551
square
#511520 #3E5115 #155146 #281551
split-complementary
#511520 #155128 #153E51
monochromatic
#18060A #20080D #511520 #822233 #B22E46

Accessibility & contrast

On white

14.21
#511520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#511520 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511520
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511520#FFFFFF#000000##FFFFFF
##5115201.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242320
Deuteranopia (green-blind)
#332F1F
Tritanopia (blue-blind)
#590919
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511520;
/* rgb */ color: rgb(81, 21, 32);
/* oklch */ color: oklch(29.9% 0.089 13.7);
Tailwind
colors: {
  custom: {
    50: '#86575b',
    500: '#511520',
    950: '#000000',
  },
}
SCSS
$custom: #511520;
$custom-light: #86575b;
$custom-dark: #000000;
JSON
{
  "hex": "#511520",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 32
  },
  "hsl": {
    "h": 349,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.29931,
    "c": 0.08919,
    "h": 13.7
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#511520
secondary
#39897A
accent
#E2C546
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #511520

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

Preview Lab → · Contrast checker → · Palette generator →

#511520 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva