#511545#511545

#511545 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.108 H 336.8°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#511545
RGBrgb(81, 21, 69)
HSLhsl(312, 59%, 20%)
HSVhsv(312, 74%, 32%)
CMYKcmyk(0%, 74.1%, 14.8%, 68.2%)
CIE-LABlab(18.87, 33.70, -15.58)
CIE-LCHlch(18.87, 37.13, 335.18°)
OKLaboklab(31.47% 0.099 -0.0423)
OKLCHoklch(31.47% 0.108 336.8)
XYZxyz(4.7358, 2.7157, 5.9038)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511545 #155121
analogous
#3F1551 #511545 #511527
triadic
#511545 #455115 #154551
tetradic
#511545 #513F15 #155121 #152751
square
#511545 #513F15 #155121 #152751
split-complementary
#511545 #275115 #15513F
monochromatic
#180615 #20081C #511545 #82226E #B22E98

Accessibility & contrast

On white

13.61
#511545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511545
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511545#FFFFFF#000000##FFFFFF
##5115451.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162846
Deuteranopia (green-blind)
#2A3144
Tritanopia (blue-blind)
#56182B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511545;
/* rgb */ color: rgb(81, 21, 69);
/* oklch */ color: oklch(31.5% 0.108 336.8);
Tailwind
colors: {
  custom: {
    50: '#845879',
    500: '#511545',
    950: '#000000',
  },
}
SCSS
$custom: #511545;
$custom-light: #845879;
$custom-dark: #000000;
JSON
{
  "hex": "#511545",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 312,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.31474,
    "c": 0.10764,
    "h": 336.8
  },
  "luminance": 0.02715
}

Semantic roles & 50–950 ramp

primary
#511545
secondary
#398949
accent
#E26546
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511545

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

Preview Lab → · Contrast checker → · Palette generator →

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