#511537#511537

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

Color values

HEX#511537
RGBrgb(81, 21, 55)
HSLhsl(326, 59%, 20%)
HSVhsv(326, 74%, 32%)
CMYKcmyk(0%, 74.1%, 32.1%, 68.2%)
CIE-LABlab(18.20, 31.47, -6.85)
CIE-LCHlch(18.20, 32.20, 347.72°)
OKLaboklab(30.76% 0.0958 -0.0179)
OKLCHoklch(30.76% 0.097 349.4)
XYZxyz(4.3513, 2.5620, 3.8790)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511537 #15512F
analogous
#4D1551 #511537 #511519
triadic
#511537 #375115 #153751
tetradic
#511537 #514D15 #15512F #151951
square
#511537 #514D15 #15512F #151951
split-complementary
#511537 #195115 #15514D
monochromatic
#180611 #200816 #511537 #822258 #B22E79

Accessibility & contrast

On white

13.89
#511537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#511537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511537
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511537#FFFFFF#000000##FFFFFF
##5115371.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2638
Deuteranopia (green-blind)
#2F3036
Tritanopia (blue-blind)
#571223
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511537;
/* rgb */ color: rgb(81, 21, 55);
/* oklch */ color: oklch(30.8% 0.097 349.4);
Tailwind
colors: {
  custom: {
    50: '#85586d',
    500: '#511537',
    950: '#000000',
  },
}
SCSS
$custom: #511537;
$custom-light: #85586d;
$custom-dark: #000000;
JSON
{
  "hex": "#511537",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 55
  },
  "hsl": {
    "h": 326,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30764,
    "c": 0.09742,
    "h": 349.4
  },
  "luminance": 0.02561
}

Semantic roles & 50–950 ramp

primary
#511537
secondary
#39895C
accent
#E28946
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #511537

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

Preview Lab → · Contrast checker → · Palette generator →

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