#511335#511335

#511335 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.099 H 350.9°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#511335
RGBrgb(81, 19, 53)
HSLhsl(327, 62%, 20%)
HSVhsv(327, 77%, 32%)
CMYKcmyk(0%, 76.5%, 34.6%, 68.2%)
CIE-LABlab(17.79, 32.07, -6.04)
CIE-LCHlch(17.79, 32.63, 349.33°)
OKLaboklab(30.44% 0.0979 -0.0157)
OKLCHoklch(30.44% 0.099 350.9)
XYZxyz(4.2690, 2.4726, 3.6199)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511335 #13512F
analogous
#4E1351 #511335 #511316
triadic
#511335 #355113 #133551
tetradic
#511335 #514E13 #13512F #131651
square
#511335 #514E13 #13512F #131651
split-complementary
#511335 #165113 #13514E
monochromatic
#190610 #1F0715 #511335 #831F55 #B42A76

Accessibility & contrast

On white

14.05
#511335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#511335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511335
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511335#FFFFFF#000000##FFFFFF
##5113351.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2536
Deuteranopia (green-blind)
#2E3034
Tritanopia (blue-blind)
#580F22
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511335;
/* rgb */ color: rgb(81, 19, 53);
/* oklch */ color: oklch(30.4% 0.099 350.9);
Tailwind
colors: {
  custom: {
    50: '#85576c',
    500: '#511335',
    950: '#000000',
  },
}
SCSS
$custom: #511335;
$custom-light: #85576c;
$custom-dark: #000000;
JSON
{
  "hex": "#511335",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 327.097,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30441,
    "c": 0.09915,
    "h": 350.9
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#511335
secondary
#368A5C
accent
#E58C43
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #511335

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

Preview Lab → · Contrast checker → · Palette generator →

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