#511320#511320

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

Color values

HEX#511320
RGBrgb(81, 19, 32)
HSLhsl(347, 62%, 20%)
HSVhsv(347, 77%, 32%)
CMYKcmyk(0%, 76.5%, 60.5%, 68.2%)
CIE-LABlab(17.08, 29.67, 7.96)
CIE-LCHlch(17.08, 30.72, 15.02°)
OKLaboklab(29.68% 0.0896 0.02)
OKLCHoklch(29.68% 0.092 12.6)
XYZxyz(3.8873, 2.3199, 1.6093)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511320 #135144
analogous
#51133F #511320 #512513
triadic
#511320 #205113 #132051
tetradic
#511320 #3F5113 #135144 #251351
square
#511320 #3F5113 #135144 #251351
split-complementary
#511320 #135125 #133F51
monochromatic
#19060A #1F070C #511320 #831F34 #B42A47

Accessibility & contrast

On white

14.35
#511320 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#511320 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511320
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511320#FFFFFF#000000##FFFFFF
##5113201.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232220
Deuteranopia (green-blind)
#332F1E
Tritanopia (blue-blind)
#590618
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511320;
/* rgb */ color: rgb(81, 19, 32);
/* oklch */ color: oklch(29.7% 0.092 12.6);
Tailwind
colors: {
  custom: {
    50: '#86565b',
    500: '#511320',
    950: '#000000',
  },
}
SCSS
$custom: #511320;
$custom-light: #86565b;
$custom-dark: #000000;
JSON
{
  "hex": "#511320",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 32
  },
  "hsl": {
    "h": 347.419,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29684,
    "c": 0.09178,
    "h": 12.6
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#511320
secondary
#368A78
accent
#E5C343
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #511320

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

Preview Lab → · Contrast checker → · Palette generator →

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