#511538#511538

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

Color values

HEX#511538
RGBrgb(81, 21, 56)
HSLhsl(325, 59%, 20%)
HSVhsv(325, 74%, 32%)
CMYKcmyk(0%, 74.1%, 30.9%, 68.2%)
CIE-LABlab(18.24, 31.61, -7.49)
CIE-LCHlch(18.24, 32.49, 346.67°)
OKLaboklab(30.81% 0.0961 -0.0196)
OKLCHoklch(30.81% 0.098 348.4)
XYZxyz(4.3755, 2.5717, 4.0066)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511538 #15512E
analogous
#4C1551 #511538 #51151A
triadic
#511538 #385115 #153851
tetradic
#511538 #514C15 #15512E #151A51
square
#511538 #514C15 #15512E #151A51
split-complementary
#511538 #1A5115 #15514C
monochromatic
#180611 #200816 #511538 #82225A #B22E7B

Accessibility & contrast

On white

13.87
#511538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511538
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511538#FFFFFF#000000##FFFFFF
##5115381.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511538;
/* rgb */ color: rgb(81, 21, 56);
/* oklch */ color: oklch(30.8% 0.098 348.4);
Tailwind
colors: {
  custom: {
    50: '#85586e',
    500: '#511538',
    950: '#000000',
  },
}
SCSS
$custom: #511538;
$custom-light: #85586e;
$custom-dark: #000000;
JSON
{
  "hex": "#511538",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 56
  },
  "hsl": {
    "h": 325,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.3081,
    "c": 0.09804,
    "h": 348.4
  },
  "luminance": 0.02571
}

Semantic roles & 50–950 ramp

primary
#511538
secondary
#39895A
accent
#E28746
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #511538

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

Preview Lab → · Contrast checker → · Palette generator →

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