#511744#511744

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

Color values

HEX#511744
RGBrgb(81, 23, 68)
HSLhsl(313, 56%, 20%)
HSVhsv(313, 72%, 32%)
CMYKcmyk(0%, 71.6%, 16%, 68.2%)
CIE-LABlab(19.14, 32.62, -14.47)
CIE-LCHlch(19.14, 35.68, 336.08°)
OKLaboklab(31.66% 0.0961 -0.0392)
OKLCHoklch(31.66% 0.104 337.8)
XYZxyz(4.7432, 2.7799, 5.7545)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511744 #175124
analogous
#411751 #511744 #511727
triadic
#511744 #445117 #174451
tetradic
#511744 #514117 #175124 #172751
square
#511744 #514117 #175124 #172751
split-complementary
#511744 #275117 #175141
monochromatic
#180714 #21091C #511744 #81256C #B03294

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##511744#FFFFFF#000000##FFFFFF
##5117441.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)
#192945
Deuteranopia (green-blind)
#2B3243
Tritanopia (blue-blind)
#561A2B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511744;
/* rgb */ color: rgb(81, 23, 68);
/* oklch */ color: oklch(31.7% 0.104 337.8);
Tailwind
colors: {
  custom: {
    50: '#845978',
    500: '#511744',
    950: '#000000',
  },
}
SCSS
$custom: #511744;
$custom-light: #845978;
$custom-dark: #000000;
JSON
{
  "hex": "#511744",
  "rgb": {
    "r": 81,
    "g": 23,
    "b": 68
  },
  "hsl": {
    "h": 313.448,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31655,
    "c": 0.10379,
    "h": 337.8
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#511744
secondary
#3C884D
accent
#DF6A49
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511744

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

Preview Lab → · Contrast checker → · Palette generator →

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