#511524#511524

#511524 is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.0% C 0.090 H 9.4°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#511524
RGBrgb(81, 21, 36)
HSLhsl(345, 59%, 20%)
HSVhsv(345, 74%, 32%)
CMYKcmyk(0%, 74.1%, 55.6%, 68.2%)
CIE-LABlab(17.52, 29.13, 5.70)
CIE-LCHlch(17.52, 29.69, 11.06°)
OKLaboklab(30.05% 0.0885 0.0146)
OKLCHoklch(30.05% 0.09 9.4)
XYZxyz(3.9803, 2.4136, 1.9250)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511524 #155142
analogous
#511542 #511524 #512415
triadic
#511524 #245115 #152451
tetradic
#511524 #425115 #155142 #241551
square
#511524 #425115 #155142 #241551
split-complementary
#511524 #155124 #154251
monochromatic
#18060B #20080E #511524 #82223A #B22E4F

Accessibility & contrast

On white

14.16
#511524 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511524
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511524#FFFFFF#000000##FFFFFF
##5115241.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232324
Deuteranopia (green-blind)
#332F23
Tritanopia (blue-blind)
#590A1B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511524;
/* rgb */ color: rgb(81, 21, 36);
/* oklch */ color: oklch(30.0% 0.090 9.4);
Tailwind
colors: {
  custom: {
    50: '#86575e',
    500: '#511524',
    950: '#000000',
  },
}
SCSS
$custom: #511524;
$custom-light: #86575e;
$custom-dark: #000000;
JSON
{
  "hex": "#511524",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 36
  },
  "hsl": {
    "h": 345,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30046,
    "c": 0.08968,
    "h": 9.4
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#511524
secondary
#398975
accent
#E2BB46
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #511524

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

Preview Lab → · Contrast checker → · Palette generator →

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