#511D40#511D40

#511D40 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.091 H 342.3°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#511D40
RGBrgb(81, 29, 64)
HSLhsl(320, 47%, 22%)
HSVhsv(320, 64%, 32%)
CMYKcmyk(0%, 64.2%, 21%, 68.2%)
CIE-LABlab(20.04, 28.94, -10.32)
CIE-LCHlch(20.04, 30.73, 340.37°)
OKLaboklab(32.25% 0.0862 -0.0276)
OKLCHoklch(32.25% 0.091 342.3)
XYZxyz(4.7582, 2.9986, 5.1777)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D40 #1D512E
analogous
#481D51 #511D40 #511D26
triadic
#511D40 #40511D #1D4051
tetradic
#511D40 #51481D #1D512E #1D2651
square
#511D40 #51481D #1D512E #1D2651
split-complementary
#511D40 #26511D #1D5148
monochromatic
#170812 #240D1C #511D40 #7E2D64 #AB3D87

Accessibility & contrast

On white

13.13
#511D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#511D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D40
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D40#FFFFFF#000000##FFFFFF
##511D401.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B41
Deuteranopia (green-blind)
#30343F
Tritanopia (blue-blind)
#561D2B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511d40;
/* rgb */ color: rgb(81, 29, 64);
/* oklch */ color: oklch(32.3% 0.091 342.3);
Tailwind
colors: {
  custom: {
    50: '#845c74',
    500: '#511d40',
    950: '#000000',
  },
}
SCSS
$custom: #511d40;
$custom-light: #845c74;
$custom-dark: #000000;
JSON
{
  "hex": "#511d40",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 64
  },
  "hsl": {
    "h": 319.615,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32251,
    "c": 0.09054,
    "h": 342.3
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#511D40
secondary
#448659
accent
#D77D51
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511D40

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

Preview Lab → · Contrast checker → · Palette generator →

#511D40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva