#511641#511641

#511641 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.103 H 340.3°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#511641
RGBrgb(81, 22, 65)
HSLhsl(316, 57%, 20%)
HSVhsv(316, 73%, 32%)
CMYKcmyk(0%, 72.8%, 19.8%, 68.2%)
CIE-LABlab(18.82, 32.57, -12.89)
CIE-LCHlch(18.82, 35.03, 338.42°)
OKLaboklab(31.37% 0.0969 -0.0347)
OKLCHoklch(31.37% 0.103 340.3)
XYZxyz(4.6345, 2.7052, 5.2781)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511641 #165126
analogous
#431651 #511641 #511623
triadic
#511641 #415116 #164151
tetradic
#511641 #514316 #165126 #162351
square
#511641 #514316 #165126 #162351
split-complementary
#511641 #235116 #165143
monochromatic
#180713 #21091A #511641 #812368 #B1308E

Accessibility & contrast

On white

13.63
#511641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511641
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511641#FFFFFF#000000##FFFFFF
##5116411.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2842
Deuteranopia (green-blind)
#2C3140
Tritanopia (blue-blind)
#561729
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511641;
/* rgb */ color: rgb(81, 22, 65);
/* oklch */ color: oklch(31.4% 0.103 340.3);
Tailwind
colors: {
  custom: {
    50: '#845875',
    500: '#511641',
    950: '#000000',
  },
}
SCSS
$custom: #511641;
$custom-light: #845875;
$custom-dark: #000000;
JSON
{
  "hex": "#511641",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 65
  },
  "hsl": {
    "h": 316.271,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31374,
    "c": 0.10293,
    "h": 340.3
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#511641
secondary
#3A8850
accent
#E17147
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511641

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

Preview Lab → · Contrast checker → · Palette generator →

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