#511B48#511B48

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

Color values

HEX#511B48
RGBrgb(81, 27, 72)
HSLhsl(310, 50%, 21%)
HSVhsv(310, 67%, 32%)
CMYKcmyk(0%, 66.7%, 11.1%, 68.2%)
CIE-LABlab(20.05, 31.40, -15.80)
CIE-LCHlch(20.05, 35.15, 333.28°)
OKLaboklab(32.39% 0.0911 -0.043)
OKLCHoklch(32.39% 0.101 334.7)
XYZxyz(4.9550, 3.0015, 6.4480)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B48 #1B5124
analogous
#3F1B51 #511B48 #511B2D
triadic
#511B48 #48511B #1B4851
tetradic
#511B48 #513F1B #1B5124 #1B2D51
square
#511B48 #513F1B #1B5124 #1B2D51
split-complementary
#511B48 #2D511B #1B513F
monochromatic
#170814 #230C1F #511B48 #7F2A71 #AD3A9A

Accessibility & contrast

On white

13.12
#511B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511B48
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B48#FFFFFF#000000##FFFFFF
##511B481.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2B49
Deuteranopia (green-blind)
#2C3347
Tritanopia (blue-blind)
#551E2E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511b48;
/* rgb */ color: rgb(81, 27, 72);
/* oklch */ color: oklch(32.4% 0.101 334.7);
Tailwind
colors: {
  custom: {
    50: '#845b7b',
    500: '#511b48',
    950: '#000000',
  },
}
SCSS
$custom: #511b48;
$custom-light: #845b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#511b48",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 310,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32387,
    "c": 0.10073,
    "h": 334.7
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#511B48
secondary
#41874D
accent
#DA654E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511B48

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

Preview Lab → · Contrast checker → · Palette generator →

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