#511647#511647

#511647 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.108 H 335.3°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#511647
RGBrgb(81, 22, 71)
HSLhsl(310, 57%, 20%)
HSVhsv(310, 73%, 32%)
CMYKcmyk(0%, 72.8%, 12.3%, 68.2%)
CIE-LABlab(19.13, 33.60, -16.54)
CIE-LCHlch(19.13, 37.45, 333.79°)
OKLaboklab(31.7% 0.098 -0.0451)
OKLCHoklch(31.7% 0.108 335.3)
XYZxyz(4.8176, 2.7785, 6.2426)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511647 #165120
analogous
#3D1651 #511647 #51162A
triadic
#511647 #475116 #164751
tetradic
#511647 #513D16 #165120 #162A51
square
#511647 #513D16 #165120 #162A51
split-complementary
#511647 #2A5116 #16513D
monochromatic
#180715 #21091D #511647 #812371 #B1309B

Accessibility & contrast

On white

13.50
#511647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511647
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511647#FFFFFF#000000##FFFFFF
##5116471.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162948
Deuteranopia (green-blind)
#2A3246
Tritanopia (blue-blind)
#551A2C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511647;
/* rgb */ color: rgb(81, 22, 71);
/* oklch */ color: oklch(31.7% 0.108 335.3);
Tailwind
colors: {
  custom: {
    50: '#84597a',
    500: '#511647',
    950: '#000000',
  },
}
SCSS
$custom: #511647;
$custom-light: #84597a;
$custom-dark: #000000;
JSON
{
  "hex": "#511647",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 310.169,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31702,
    "c": 0.10783,
    "h": 335.3
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#511647
secondary
#3A8848
accent
#E16147
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511647

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

Preview Lab → · Contrast checker → · Palette generator →

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