#511531#511531

#511531 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.094 H 355.5°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#511531
RGBrgb(81, 21, 49)
HSLhsl(332, 59%, 20%)
HSVhsv(332, 74%, 32%)
CMYKcmyk(0%, 74.1%, 39.5%, 68.2%)
CIE-LABlab(17.95, 30.64, -2.97)
CIE-LCHlch(17.95, 30.78, 354.47°)
OKLaboklab(30.51% 0.0938 -0.0074)
OKLCHoklch(30.51% 0.094 355.5)
XYZxyz(4.2161, 2.5079, 3.1672)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511531 #155135
analogous
#51154F #511531 #511715
triadic
#511531 #315115 #153151
tetradic
#511531 #4F5115 #155135 #171551
square
#511531 #4F5115 #155135 #171551
split-complementary
#511531 #155117 #154F51
monochromatic
#18060F #200814 #511531 #82224E #B22E6C

Accessibility & contrast

On white

13.99
#511531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#511531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511531
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511531#FFFFFF#000000##FFFFFF
##5115311.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202532
Deuteranopia (green-blind)
#303030
Tritanopia (blue-blind)
#581021
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511531;
/* rgb */ color: rgb(81, 21, 49);
/* oklch */ color: oklch(30.5% 0.094 355.5);
Tailwind
colors: {
  custom: {
    50: '#855769',
    500: '#511531',
    950: '#000000',
  },
}
SCSS
$custom: #511531;
$custom-light: #855769;
$custom-dark: #000000;
JSON
{
  "hex": "#511531",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 49
  },
  "hsl": {
    "h": 332,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30506,
    "c": 0.09406,
    "h": 355.5
  },
  "luminance": 0.02507
}

Semantic roles & 50–950 ramp

primary
#511531
secondary
#398964
accent
#E29946
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #511531

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

Preview Lab → · Contrast checker → · Palette generator →

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