#511D45#511D45

#511D45 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.5% C 0.095 H 337.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#511D45
RGBrgb(81, 29, 69)
HSLhsl(314, 47%, 22%)
HSVhsv(314, 64%, 32%)
CMYKcmyk(0%, 64.2%, 14.8%, 68.2%)
CIE-LABlab(20.28, 29.82, -13.40)
CIE-LCHlch(20.28, 32.69, 335.80°)
OKLaboklab(32.5% 0.0875 -0.0362)
OKLCHoklch(32.5% 0.095 337.5)
XYZxyz(4.9069, 3.0581, 5.9609)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D45 #1D5129
analogous
#431D51 #511D45 #511D2B
triadic
#511D45 #45511D #1D4551
tetradic
#511D45 #51431D #1D5129 #1D2B51
square
#511D45 #51431D #1D5129 #1D2B51
split-complementary
#511D45 #2B511D #1D5143
monochromatic
#170813 #240D1F #511D45 #7E2D6B #AB3D92

Accessibility & contrast

On white

13.03
#511D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#511D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D45
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D45#FFFFFF#000000##FFFFFF
##511D451.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2C46
Deuteranopia (green-blind)
#2E3444
Tritanopia (blue-blind)
#551F2E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511d45;
/* rgb */ color: rgb(81, 29, 69);
/* oklch */ color: oklch(32.5% 0.095 337.5);
Tailwind
colors: {
  custom: {
    50: '#845c78',
    500: '#511d45',
    950: '#000000',
  },
}
SCSS
$custom: #511d45;
$custom-light: #845c78;
$custom-dark: #000000;
JSON
{
  "hex": "#511d45",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 69
  },
  "hsl": {
    "h": 313.846,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32503,
    "c": 0.09467,
    "h": 337.5
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#511D45
secondary
#448653
accent
#D77051
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511D45

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

Preview Lab → · Contrast checker → · Palette generator →

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