#511D3F#511D3F

#511D3F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.2% C 0.090 H 343.3°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#511D3F
RGBrgb(81, 29, 63)
HSLhsl(321, 47%, 22%)
HSVhsv(321, 64%, 32%)
CMYKcmyk(0%, 64.2%, 22.2%, 68.2%)
CIE-LABlab(19.99, 28.77, -9.70)
CIE-LCHlch(19.99, 30.36, 341.36°)
OKLaboklab(32.2% 0.086 -0.0258)
OKLCHoklch(32.2% 0.09 343.3)
XYZxyz(4.7300, 2.9874, 5.0292)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D3F #1D512F
analogous
#491D51 #511D3F #511D25
triadic
#511D3F #3F511D #1D3F51
tetradic
#511D3F #51491D #1D512F #1D2551
square
#511D3F #51491D #1D512F #1D2551
split-complementary
#511D3F #25511D #1D5149
monochromatic
#170812 #240D1C #511D3F #7E2D62 #AB3D85

Accessibility & contrast

On white

13.15
#511D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D3F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D3F#FFFFFF#000000##FFFFFF
##511D3F1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#30333E
Tritanopia (blue-blind)
#561D2B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511d3f;
/* rgb */ color: rgb(81, 29, 63);
/* oklch */ color: oklch(32.2% 0.090 343.3);
Tailwind
colors: {
  custom: {
    50: '#845c74',
    500: '#511d3f',
    950: '#000000',
  },
}
SCSS
$custom: #511d3f;
$custom-light: #845c74;
$custom-dark: #000000;
JSON
{
  "hex": "#511d3f",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 63
  },
  "hsl": {
    "h": 320.769,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32203,
    "c": 0.08976,
    "h": 343.3
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#511D3F
secondary
#44865B
accent
#D77F51
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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