#511635#511635

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

Color values

HEX#511635
RGBrgb(81, 22, 53)
HSLhsl(328, 57%, 20%)
HSVhsv(328, 73%, 32%)
CMYKcmyk(0%, 72.8%, 34.6%, 68.2%)
CIE-LABlab(18.28, 30.72, -5.31)
CIE-LCHlch(18.28, 31.18, 350.19°)
OKLaboklab(30.8% 0.0937 -0.0137)
OKLCHoklch(30.8% 0.095 351.7)
XYZxyz(4.3231, 2.5807, 3.6379)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511635 #165132
analogous
#501651 #511635 #511617
triadic
#511635 #355116 #163551
tetradic
#511635 #515016 #165132 #161751
square
#511635 #515016 #165132 #161751
split-complementary
#511635 #175116 #165150
monochromatic
#180710 #210916 #511635 #812354 #B13074

Accessibility & contrast

On white

13.85
#511635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511635
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511635#FFFFFF#000000##FFFFFF
##5116351.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2636
Deuteranopia (green-blind)
#303034
Tritanopia (blue-blind)
#571223
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511635;
/* rgb */ color: rgb(81, 22, 53);
/* oklch */ color: oklch(30.8% 0.095 351.7);
Tailwind
colors: {
  custom: {
    50: '#85586c',
    500: '#511635',
    950: '#000000',
  },
}
SCSS
$custom: #511635;
$custom-light: #85586c;
$custom-dark: #000000;
JSON
{
  "hex": "#511635",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 53
  },
  "hsl": {
    "h": 328.475,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30798,
    "c": 0.09469,
    "h": 351.7
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#511635
secondary
#3A885F
accent
#E19047
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #511635

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

Preview Lab → · Contrast checker → · Palette generator →

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