#511A46#511A46

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

Color values

HEX#511A46
RGBrgb(81, 26, 70)
HSLhsl(312, 51%, 21%)
HSVhsv(312, 68%, 32%)
CMYKcmyk(0%, 67.9%, 13.6%, 68.2%)
CIE-LABlab(19.76, 31.53, -14.88)
CIE-LCHlch(19.76, 34.86, 334.74°)
OKLaboklab(32.15% 0.0922 -0.0404)
OKLCHoklch(32.15% 0.101 336.4)
XYZxyz(4.8683, 2.9307, 6.1024)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A46 #1A5125
analogous
#401A51 #511A46 #511A2A
triadic
#511A46 #46511A #1A4651
tetradic
#511A46 #51401A #1A5125 #1A2A51
square
#511A46 #51401A #1A5125 #1A2A51
split-complementary
#511A46 #2A511A #1A5140
monochromatic
#170714 #230B1E #511A46 #7F296E #AE3896

Accessibility & contrast

On white

13.24
#511A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A46
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A46#FFFFFF#000000##FFFFFF
##511A461.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2A47
Deuteranopia (green-blind)
#2C3345
Tritanopia (blue-blind)
#551D2D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511a46;
/* rgb */ color: rgb(81, 26, 70);
/* oklch */ color: oklch(32.1% 0.101 336.4);
Tailwind
colors: {
  custom: {
    50: '#845b79',
    500: '#511a46',
    950: '#000000',
  },
}
SCSS
$custom: #511a46;
$custom-light: #845b79;
$custom-dark: #000000;
JSON
{
  "hex": "#511a46",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 70
  },
  "hsl": {
    "h": 312,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32145,
    "c": 0.10065,
    "h": 336.4
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#511A46
secondary
#40874E
accent
#DB694D
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511A46

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

Preview Lab → · Contrast checker → · Palette generator →

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