#511734#511734

#511734 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.093 H 353.0°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#511734
RGBrgb(81, 23, 52)
HSLhsl(330, 56%, 20%)
HSVhsv(330, 72%, 32%)
CMYKcmyk(0%, 71.6%, 35.8%, 68.2%)
CIE-LABlab(18.41, 30.11, -4.41)
CIE-LCHlch(18.41, 30.43, 351.67°)
OKLaboklab(30.88% 0.0919 -0.0113)
OKLCHoklch(30.88% 0.093 353)
XYZxyz(4.3198, 2.6105, 3.5245)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511734 #175134
analogous
#511751 #511734 #511717
triadic
#511734 #345117 #173451
tetradic
#511734 #515117 #175134 #171751
square
#511734 #515117 #175134 #171751
split-complementary
#511734 #175117 #175151
monochromatic
#18070F #210915 #511734 #812553 #B03271

Accessibility & contrast

On white

13.80
#511734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511734 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511734
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511734#FFFFFF#000000##FFFFFF
##5117341.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202635
Deuteranopia (green-blind)
#303133
Tritanopia (blue-blind)
#581323
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511734;
/* rgb */ color: rgb(81, 23, 52);
/* oklch */ color: oklch(30.9% 0.093 353.0);
Tailwind
colors: {
  custom: {
    50: '#85596b',
    500: '#511734',
    950: '#000000',
  },
}
SCSS
$custom: #511734;
$custom-light: #85596b;
$custom-dark: #000000;
JSON
{
  "hex": "#511734",
  "rgb": {
    "r": 81,
    "g": 23,
    "b": 52
  },
  "hsl": {
    "h": 330,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30882,
    "c": 0.09257,
    "h": 353
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#511734
secondary
#3C8862
accent
#DF9449
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511734

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

Preview Lab → · Contrast checker → · Palette generator →

#511734 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva