#511B43#511B43

#511B43 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.096 H 339.1°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#511B43
RGBrgb(81, 27, 67)
HSLhsl(316, 50%, 21%)
HSVhsv(316, 67%, 32%)
CMYKcmyk(0%, 66.7%, 17.3%, 68.2%)
CIE-LABlab(19.80, 30.50, -12.76)
CIE-LCHlch(19.80, 33.06, 337.29°)
OKLaboklab(32.12% 0.0901 -0.0344)
OKLCHoklch(32.12% 0.096 339.1)
XYZxyz(4.7985, 2.9389, 5.6236)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B43 #1B5129
analogous
#441B51 #511B43 #511B28
triadic
#511B43 #43511B #1B4351
tetradic
#511B43 #51441B #1B5129 #1B2851
square
#511B43 #51441B #1B5129 #1B2851
split-complementary
#511B43 #28511B #1B5144
monochromatic
#170813 #230C1D #511B43 #7F2A69 #AD3A8F

Accessibility & contrast

On white

13.23
#511B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#511B43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B43
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B43#FFFFFF#000000##FFFFFF
##511B431.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2A44
Deuteranopia (green-blind)
#2E3342
Tritanopia (blue-blind)
#561D2C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511b43;
/* rgb */ color: rgb(81, 27, 67);
/* oklch */ color: oklch(32.1% 0.096 339.1);
Tailwind
colors: {
  custom: {
    50: '#845b77',
    500: '#511b43',
    950: '#000000',
  },
}
SCSS
$custom: #511b43;
$custom-light: #845b77;
$custom-dark: #000000;
JSON
{
  "hex": "#511b43",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 67
  },
  "hsl": {
    "h": 315.556,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3212,
    "c": 0.09643,
    "h": 339.1
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#511B43
secondary
#418753
accent
#DA724E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511B43

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

Preview Lab → · Contrast checker → · Palette generator →

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