#511322#511322

#511322 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.092 H 10.5°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#511322
RGBrgb(81, 19, 34)
HSLhsl(345, 62%, 20%)
HSVhsv(345, 77%, 32%)
CMYKcmyk(0%, 76.5%, 58%, 68.2%)
CIE-LABlab(17.14, 29.85, 6.59)
CIE-LCHlch(17.14, 30.57, 12.46°)
OKLaboklab(29.74% 0.0905 0.0168)
OKLCHoklch(29.74% 0.092 10.5)
XYZxyz(3.9153, 2.3311, 1.7568)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511322 #135142
analogous
#511341 #511322 #512313
triadic
#511322 #225113 #132251
tetradic
#511322 #415113 #135142 #231351
square
#511322 #415113 #135142 #231351
split-complementary
#511322 #135123 #134151
monochromatic
#19060A #1F070D #511322 #831F37 #B42A4C

Accessibility & contrast

On white

14.32
#511322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#511322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511322
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511322#FFFFFF#000000##FFFFFF
##5113221.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222222
Deuteranopia (green-blind)
#322F20
Tritanopia (blue-blind)
#590619
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511322;
/* rgb */ color: rgb(81, 19, 34);
/* oklch */ color: oklch(29.7% 0.092 10.5);
Tailwind
colors: {
  custom: {
    50: '#86565c',
    500: '#511322',
    950: '#000000',
  },
}
SCSS
$custom: #511322;
$custom-light: #86565c;
$custom-dark: #000000;
JSON
{
  "hex": "#511322",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 34
  },
  "hsl": {
    "h": 345.484,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29741,
    "c": 0.09203,
    "h": 10.5
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#511322
secondary
#368A75
accent
#E5BE43
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #511322

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

Preview Lab → · Contrast checker → · Palette generator →

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