#511523#511523

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

Color values

HEX#511523
RGBrgb(81, 21, 35)
HSLhsl(346, 59%, 20%)
HSVhsv(346, 74%, 32%)
CMYKcmyk(0%, 74.1%, 56.8%, 68.2%)
CIE-LABlab(17.50, 29.04, 6.37)
CIE-LCHlch(17.50, 29.73, 12.38°)
OKLaboklab(30.02% 0.088 0.0163)
OKLCHoklch(30.02% 0.09 10.5)
XYZxyz(3.9652, 2.4075, 1.8457)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511523 #155143
analogous
#511541 #511523 #512515
triadic
#511523 #235115 #152351
tetradic
#511523 #415115 #155143 #251551
square
#511523 #415115 #155143 #251551
split-complementary
#511523 #155125 #154151
monochromatic
#18060A #20080E #511523 #822238 #B22E4D

Accessibility & contrast

On white

14.18
#511523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511523
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511523#FFFFFF#000000##FFFFFF
##5115231.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511523;
/* rgb */ color: rgb(81, 21, 35);
/* oklch */ color: oklch(30.0% 0.090 10.5);
Tailwind
colors: {
  custom: {
    50: '#86575d',
    500: '#511523',
    950: '#000000',
  },
}
SCSS
$custom: #511523;
$custom-light: #86575d;
$custom-dark: #000000;
JSON
{
  "hex": "#511523",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 35
  },
  "hsl": {
    "h": 346,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30016,
    "c": 0.08952,
    "h": 10.5
  },
  "luminance": 0.02407
}

Semantic roles & 50–950 ramp

primary
#511523
secondary
#398976
accent
#E2BE46
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #511523

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

Preview Lab → · Contrast checker → · Palette generator →

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