#511120#511120

#511120 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.094 H 11.6°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#511120
RGBrgb(81, 17, 32)
HSLhsl(346, 65%, 19%)
HSVhsv(346, 79%, 32%)
CMYKcmyk(0%, 79%, 60.5%, 68.2%)
CIE-LABlab(16.77, 30.53, 7.53)
CIE-LCHlch(16.77, 31.44, 13.86°)
OKLaboklab(29.45% 0.0923 0.0189)
OKLCHoklch(29.45% 0.094 11.6)
XYZxyz(3.8549, 2.2550, 1.5985)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511120 #115142
analogous
#511140 #511120 #512211
triadic
#511120 #205111 #112051
tetradic
#511120 #405111 #115142 #221151
square
#511120 #405111 #115142 #221151
split-complementary
#511120 #115122 #114051
monochromatic
#19050A #1E060C #511120 #841C34 #B62648

Accessibility & contrast

On white

14.47
#511120 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#511120 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511120
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511120#FFFFFF#000000##FFFFFF
##5111201.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212120
Deuteranopia (green-blind)
#322E1E
Tritanopia (blue-blind)
#590317
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #511120;
/* rgb */ color: rgb(81, 17, 32);
/* oklch */ color: oklch(29.5% 0.094 11.6);
Tailwind
colors: {
  custom: {
    50: '#86555b',
    500: '#511120',
    950: '#000000',
  },
}
SCSS
$custom: #511120;
$custom-light: #86555b;
$custom-dark: #000000;
JSON
{
  "hex": "#511120",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 32
  },
  "hsl": {
    "h": 345.938,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29453,
    "c": 0.09426,
    "h": 11.6
  },
  "luminance": 0.02255
}

Semantic roles & 50–950 ramp

primary
#511120
secondary
#348A76
accent
#E8C140
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #511120

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

Preview Lab → · Contrast checker → · Palette generator →

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