#511B39#511B39

#511B39 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.089 H 349.0°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#511B39
RGBrgb(81, 27, 57)
HSLhsl(327, 50%, 21%)
HSVhsv(327, 67%, 32%)
CMYKcmyk(0%, 66.7%, 29.6%, 68.2%)
CIE-LABlab(19.35, 28.85, -6.52)
CIE-LCHlch(19.35, 29.58, 347.27°)
OKLaboklab(31.64% 0.0874 -0.017)
OKLCHoklch(31.64% 0.089 349)
XYZxyz(4.5240, 2.8290, 4.1779)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B39 #1B5133
analogous
#4E1B51 #511B39 #511B1E
triadic
#511B39 #39511B #1B3951
tetradic
#511B39 #514E1B #1B5133 #1B1E51
square
#511B39 #514E1B #1B5133 #1B1E51
split-complementary
#511B39 #1E511B #1B514E
monochromatic
#170810 #230C19 #511B39 #7F2A59 #AD3A7A

Accessibility & contrast

On white

13.41
#511B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B39
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B39#FFFFFF#000000##FFFFFF
##511B391.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22293A
Deuteranopia (green-blind)
#313238
Tritanopia (blue-blind)
#571927
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511b39;
/* rgb */ color: rgb(81, 27, 57);
/* oklch */ color: oklch(31.6% 0.089 349.0);
Tailwind
colors: {
  custom: {
    50: '#845b6f',
    500: '#511b39',
    950: '#000000',
  },
}
SCSS
$custom: #511b39;
$custom-light: #845b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#511b39",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 57
  },
  "hsl": {
    "h": 326.667,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31639,
    "c": 0.08901,
    "h": 349
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#511B39
secondary
#418760
accent
#DA8C4E
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511B39

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

Preview Lab → · Contrast checker → · Palette generator →

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