#511D43#511D43

#511D43 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.093 H 339.4°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#511D43
RGBrgb(81, 29, 67)
HSLhsl(316, 47%, 22%)
HSVhsv(316, 64%, 32%)
CMYKcmyk(0%, 64.2%, 17.3%, 68.2%)
CIE-LABlab(20.18, 29.46, -12.17)
CIE-LCHlch(20.18, 31.88, 337.55°)
OKLaboklab(32.4% 0.087 -0.0328)
OKLCHoklch(32.4% 0.093 339.4)
XYZxyz(4.8459, 3.0337, 5.6394)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D43 #1D512B
analogous
#451D51 #511D43 #511D29
triadic
#511D43 #43511D #1D4351
tetradic
#511D43 #51451D #1D512B #1D2951
square
#511D43 #51451D #1D512B #1D2951
split-complementary
#511D43 #29511D #1D5145
monochromatic
#170813 #240D1E #511D43 #7E2D68 #AB3D8E

Accessibility & contrast

On white

13.07
#511D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D43
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D43#FFFFFF#000000##FFFFFF
##511D431.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2B44
Deuteranopia (green-blind)
#2F3442
Tritanopia (blue-blind)
#561E2D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511d43;
/* rgb */ color: rgb(81, 29, 67);
/* oklch */ color: oklch(32.4% 0.093 339.4);
Tailwind
colors: {
  custom: {
    50: '#845c77',
    500: '#511d43',
    950: '#000000',
  },
}
SCSS
$custom: #511d43;
$custom-light: #845c77;
$custom-dark: #000000;
JSON
{
  "hex": "#511d43",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 67
  },
  "hsl": {
    "h": 316.154,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.324,
    "c": 0.09296,
    "h": 339.4
  },
  "luminance": 0.03033
}

Semantic roles & 50–950 ramp

primary
#511D43
secondary
#448655
accent
#D77551
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511D43

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

Preview Lab → · Contrast checker → · Palette generator →

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