#511535#511535

#511535 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.7% C 0.096 H 351.4°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#511535
RGBrgb(81, 21, 53)
HSLhsl(328, 59%, 20%)
HSVhsv(328, 74%, 32%)
CMYKcmyk(0%, 74.1%, 34.6%, 68.2%)
CIE-LABlab(18.11, 31.18, -5.56)
CIE-LCHlch(18.11, 31.68, 349.88°)
OKLaboklab(30.68% 0.0951 -0.0144)
OKLCHoklch(30.68% 0.096 351.4)
XYZxyz(4.3043, 2.5432, 3.6317)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511535 #155131
analogous
#4F1551 #511535 #511517
triadic
#511535 #355115 #153551
tetradic
#511535 #514F15 #155131 #151751
square
#511535 #514F15 #155131 #151751
split-complementary
#511535 #175115 #15514F
monochromatic
#180610 #200815 #511535 #822255 #B22E75

Accessibility & contrast

On white

13.92
#511535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511535
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511535#FFFFFF#000000##FFFFFF
##5115351.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2536
Deuteranopia (green-blind)
#2F3034
Tritanopia (blue-blind)
#571122
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511535;
/* rgb */ color: rgb(81, 21, 53);
/* oklch */ color: oklch(30.7% 0.096 351.4);
Tailwind
colors: {
  custom: {
    50: '#85586c',
    500: '#511535',
    950: '#000000',
  },
}
SCSS
$custom: #511535;
$custom-light: #85586c;
$custom-dark: #000000;
JSON
{
  "hex": "#511535",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 53
  },
  "hsl": {
    "h": 328,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30675,
    "c": 0.09621,
    "h": 351.4
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#511535
secondary
#39895E
accent
#E28F46
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #511535

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

Preview Lab → · Contrast checker → · Palette generator →

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