#511C33#511C33

#511C33 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.5% C 0.084 H 356.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#511C33
RGBrgb(81, 28, 51)
HSLhsl(334, 49%, 21%)
HSVhsv(334, 65%, 32%)
CMYKcmyk(0%, 65.4%, 37%, 68.2%)
CIE-LABlab(19.31, 27.44, -2.38)
CIE-LCHlch(19.31, 27.54, 355.05°)
OKLaboklab(31.53% 0.0836 -0.0059)
OKLCHoklch(31.53% 0.084 356)
XYZxyz(4.4064, 2.8193, 3.4435)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C33 #1C513A
analogous
#511C4E #511C33 #51201C
triadic
#511C33 #33511C #1C3351
tetradic
#511C33 #4E511C #1C513A #201C51
square
#511C33 #4E511C #1C513A #201C51
split-complementary
#511C33 #1C5120 #1C4E51
monochromatic
#17080E #240C16 #511C33 #7E2C50 #AC3B6C

Accessibility & contrast

On white

13.43
#511C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511C33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C33
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C33#FFFFFF#000000##FFFFFF
##511C331.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242934
Deuteranopia (green-blind)
#333232
Tritanopia (blue-blind)
#581825
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511c33;
/* rgb */ color: rgb(81, 28, 51);
/* oklch */ color: oklch(31.5% 0.084 356.0);
Tailwind
colors: {
  custom: {
    50: '#845b6a',
    500: '#511c33',
    950: '#000000',
  },
}
SCSS
$custom: #511c33;
$custom-light: #845b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#511c33",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 51
  },
  "hsl": {
    "h": 333.962,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31531,
    "c": 0.08384,
    "h": 356
  },
  "luminance": 0.02819
}

Semantic roles & 50–950 ramp

primary
#511C33
secondary
#428769
accent
#D89D50
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511C33

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

Preview Lab → · Contrast checker → · Palette generator →

#511C33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva