#511547#511547

#511547 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.6% C 0.109 H 335.2°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#511547
RGBrgb(81, 21, 71)
HSLhsl(310, 59%, 20%)
HSVhsv(310, 74%, 32%)
CMYKcmyk(0%, 74.1%, 12.3%, 68.2%)
CIE-LABlab(18.98, 34.05, -16.79)
CIE-LCHlch(18.98, 37.96, 333.75°)
OKLaboklab(31.59% 0.0993 -0.0458)
OKLCHoklch(31.59% 0.109 335.2)
XYZxyz(4.7989, 2.7410, 6.2363)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511547 #15511F
analogous
#3D1551 #511547 #511529
triadic
#511547 #475115 #154751
tetradic
#511547 #513D15 #15511F #152951
square
#511547 #513D15 #15511F #152951
split-complementary
#511547 #295115 #15513D
monochromatic
#180615 #20081C #511547 #822272 #B22E9C

Accessibility & contrast

On white

13.56
#511547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511547
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511547#FFFFFF#000000##FFFFFF
##5115471.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152848
Deuteranopia (green-blind)
#293146
Tritanopia (blue-blind)
#55192C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511547;
/* rgb */ color: rgb(81, 21, 71);
/* oklch */ color: oklch(31.6% 0.109 335.2);
Tailwind
colors: {
  custom: {
    50: '#84587a',
    500: '#511547',
    950: '#000000',
  },
}
SCSS
$custom: #511547;
$custom-light: #84587a;
$custom-dark: #000000;
JSON
{
  "hex": "#511547",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 310,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.31587,
    "c": 0.10931,
    "h": 335.2
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#511547
secondary
#398946
accent
#E26046
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511547

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

Preview Lab → · Contrast checker → · Palette generator →

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