#511637#511637

#511637 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.096 H 349.6°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#511637
RGBrgb(81, 22, 55)
HSLhsl(326, 57%, 20%)
HSVhsv(326, 73%, 32%)
CMYKcmyk(0%, 72.8%, 32.1%, 68.2%)
CIE-LABlab(18.36, 31.01, -6.60)
CIE-LCHlch(18.36, 31.70, 347.99°)
OKLaboklab(30.89% 0.0943 -0.0172)
OKLCHoklch(30.89% 0.096 349.6)
XYZxyz(4.3700, 2.5995, 3.8853)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511637 #165130
analogous
#4E1651 #511637 #511619
triadic
#511637 #375116 #163751
tetradic
#511637 #514E16 #165130 #161951
square
#511637 #514E16 #165130 #161951
split-complementary
#511637 #195116 #16514E
monochromatic
#180710 #210916 #511637 #812358 #B13078

Accessibility & contrast

On white

13.82
#511637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511637 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511637
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511637#FFFFFF#000000##FFFFFF
##5116371.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2638
Deuteranopia (green-blind)
#2F3136
Tritanopia (blue-blind)
#571324
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511637;
/* rgb */ color: rgb(81, 22, 55);
/* oklch */ color: oklch(30.9% 0.096 349.6);
Tailwind
colors: {
  custom: {
    50: '#85586d',
    500: '#511637',
    950: '#000000',
  },
}
SCSS
$custom: #511637;
$custom-light: #85586d;
$custom-dark: #000000;
JSON
{
  "hex": "#511637",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 55
  },
  "hsl": {
    "h": 326.441,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30886,
    "c": 0.09589,
    "h": 349.6
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#511637
secondary
#3A885D
accent
#E18B47
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #511637

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

Preview Lab → · Contrast checker → · Palette generator →

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