#511640#511640

#511640 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.102 H 341.2°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#511640
RGBrgb(81, 22, 64)
HSLhsl(317, 57%, 20%)
HSVhsv(317, 73%, 32%)
CMYKcmyk(0%, 72.8%, 21%, 68.2%)
CIE-LABlab(18.77, 32.41, -12.27)
CIE-LCHlch(18.77, 34.65, 339.27°)
OKLaboklab(31.32% 0.0967 -0.0329)
OKLCHoklch(31.32% 0.102 341.2)
XYZxyz(4.6058, 2.6937, 5.1269)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511640 #165127
analogous
#441651 #511640 #511622
triadic
#511640 #405116 #164051
tetradic
#511640 #514416 #165127 #162251
square
#511640 #514416 #165127 #162251
split-complementary
#511640 #225116 #165144
monochromatic
#180713 #21091A #511640 #812366 #B1308C

Accessibility & contrast

On white

13.65
#511640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511640
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511640#FFFFFF#000000##FFFFFF
##5116401.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2841
Deuteranopia (green-blind)
#2C313F
Tritanopia (blue-blind)
#561728
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511640;
/* rgb */ color: rgb(81, 22, 64);
/* oklch */ color: oklch(31.3% 0.102 341.2);
Tailwind
colors: {
  custom: {
    50: '#845875',
    500: '#511640',
    950: '#000000',
  },
}
SCSS
$custom: #511640;
$custom-light: #845875;
$custom-dark: #000000;
JSON
{
  "hex": "#511640",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 317.288,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31321,
    "c": 0.10216,
    "h": 341.2
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#511640
secondary
#3A8851
accent
#E17347
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511640

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

Preview Lab → · Contrast checker → · Palette generator →

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