#511646#511646

#511646 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.107 H 336.1°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#511646
RGBrgb(81, 22, 70)
HSLhsl(311, 57%, 20%)
HSVhsv(311, 73%, 32%)
CMYKcmyk(0%, 72.8%, 13.6%, 68.2%)
CIE-LABlab(19.08, 33.42, -15.94)
CIE-LCHlch(19.08, 37.03, 334.50°)
OKLaboklab(31.65% 0.0978 -0.0434)
OKLCHoklch(31.65% 0.107 336.1)
XYZxyz(4.7858, 2.7658, 6.0750)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511646 #165121
analogous
#3E1651 #511646 #511629
triadic
#511646 #465116 #164651
tetradic
#511646 #513E16 #165121 #162951
square
#511646 #513E16 #165121 #162951
split-complementary
#511646 #295116 #16513E
monochromatic
#180715 #21091C #511646 #812370 #B13099

Accessibility & contrast

On white

13.52
#511646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511646
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511646#FFFFFF#000000##FFFFFF
##5116461.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172947
Deuteranopia (green-blind)
#2A3245
Tritanopia (blue-blind)
#551A2B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511646;
/* rgb */ color: rgb(81, 22, 70);
/* oklch */ color: oklch(31.6% 0.107 336.1);
Tailwind
colors: {
  custom: {
    50: '#845979',
    500: '#511646',
    950: '#000000',
  },
}
SCSS
$custom: #511646;
$custom-light: #845979;
$custom-dark: #000000;
JSON
{
  "hex": "#511646",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 70
  },
  "hsl": {
    "h": 311.186,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31646,
    "c": 0.10699,
    "h": 336.1
  },
  "luminance": 0.02765
}

Semantic roles & 50–950 ramp

primary
#511646
secondary
#3A8849
accent
#E16447
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511646

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

Preview Lab → · Contrast checker → · Palette generator →

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