#511735#511735

#511735 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.093 H 352.0°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#511735
RGBrgb(81, 23, 53)
HSLhsl(329, 56%, 20%)
HSVhsv(329, 72%, 32%)
CMYKcmyk(0%, 71.6%, 34.6%, 68.2%)
CIE-LABlab(18.45, 30.25, -5.06)
CIE-LCHlch(18.45, 30.67, 350.51°)
OKLaboklab(30.92% 0.0922 -0.013)
OKLCHoklch(30.92% 0.093 352)
XYZxyz(4.3426, 2.6196, 3.6444)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511735 #175133
analogous
#501751 #511735 #511718
triadic
#511735 #355117 #173551
tetradic
#511735 #515017 #175133 #171851
square
#511735 #515017 #175133 #171851
split-complementary
#511735 #185117 #175150
monochromatic
#180710 #210916 #511735 #812554 #B03273

Accessibility & contrast

On white

13.78
#511735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511735
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511735#FFFFFF#000000##FFFFFF
##5117351.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202636
Deuteranopia (green-blind)
#303134
Tritanopia (blue-blind)
#571423
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511735;
/* rgb */ color: rgb(81, 23, 53);
/* oklch */ color: oklch(30.9% 0.093 352.0);
Tailwind
colors: {
  custom: {
    50: '#85596c',
    500: '#511735',
    950: '#000000',
  },
}
SCSS
$custom: #511735;
$custom-light: #85596c;
$custom-dark: #000000;
JSON
{
  "hex": "#511735",
  "rgb": {
    "r": 81,
    "g": 23,
    "b": 53
  },
  "hsl": {
    "h": 328.966,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30924,
    "c": 0.09314,
    "h": 352
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#511735
secondary
#3C8861
accent
#DF9149
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511735

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

Preview Lab → · Contrast checker → · Palette generator →

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