#511638#511638

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

Color values

HEX#511638
RGBrgb(81, 22, 56)
HSLhsl(325, 57%, 20%)
HSVhsv(325, 73%, 32%)
CMYKcmyk(0%, 72.8%, 30.9%, 68.2%)
CIE-LABlab(18.41, 31.16, -7.24)
CIE-LCHlch(18.41, 31.99, 346.92°)
OKLaboklab(30.93% 0.0946 -0.019)
OKLCHoklch(30.93% 0.097 348.7)
XYZxyz(4.3943, 2.6091, 4.0128)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511638 #16512F
analogous
#4D1651 #511638 #51161A
triadic
#511638 #385116 #163851
tetradic
#511638 #514D16 #16512F #161A51
square
#511638 #514D16 #16512F #161A51
split-complementary
#511638 #1A5116 #16514D
monochromatic
#180711 #210917 #511638 #812359 #B1307B

Accessibility & contrast

On white

13.80
#511638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511638
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511638#FFFFFF#000000##FFFFFF
##5116381.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2639
Deuteranopia (green-blind)
#2F3137
Tritanopia (blue-blind)
#571424
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511638;
/* rgb */ color: rgb(81, 22, 56);
/* oklch */ color: oklch(30.9% 0.097 348.7);
Tailwind
colors: {
  custom: {
    50: '#85586e',
    500: '#511638',
    950: '#000000',
  },
}
SCSS
$custom: #511638;
$custom-light: #85586e;
$custom-dark: #000000;
JSON
{
  "hex": "#511638",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 325.424,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30931,
    "c": 0.09651,
    "h": 348.7
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#511638
secondary
#3A885B
accent
#E18847
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #511638

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

Preview Lab → · Contrast checker → · Palette generator →

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