#511643#511643

#511643 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.105 H 338.6°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#511643
RGBrgb(81, 22, 67)
HSLhsl(314, 57%, 20%)
HSVhsv(314, 73%, 32%)
CMYKcmyk(0%, 72.8%, 17.3%, 68.2%)
CIE-LABlab(18.92, 32.91, -14.11)
CIE-LCHlch(18.92, 35.81, 336.79°)
OKLaboklab(31.48% 0.0973 -0.0382)
OKLCHoklch(31.48% 0.105 338.6)
XYZxyz(4.6935, 2.7288, 5.5886)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511643 #165124
analogous
#411651 #511643 #511626
triadic
#511643 #435116 #164351
tetradic
#511643 #514116 #165124 #162651
square
#511643 #514116 #165124 #162651
split-complementary
#511643 #265116 #165141
monochromatic
#180714 #21091B #511643 #81236B #B13093

Accessibility & contrast

On white

13.59
#511643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511643
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511643#FFFFFF#000000##FFFFFF
##5116431.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192844
Deuteranopia (green-blind)
#2B3142
Tritanopia (blue-blind)
#56182A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511643;
/* rgb */ color: rgb(81, 22, 67);
/* oklch */ color: oklch(31.5% 0.105 338.6);
Tailwind
colors: {
  custom: {
    50: '#845977',
    500: '#511643',
    950: '#000000',
  },
}
SCSS
$custom: #511643;
$custom-light: #845977;
$custom-dark: #000000;
JSON
{
  "hex": "#511643",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 67
  },
  "hsl": {
    "h": 314.237,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3148,
    "c": 0.10452,
    "h": 338.6
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#511643
secondary
#3A884D
accent
#E16C47
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511643

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

Preview Lab → · Contrast checker → · Palette generator →

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