#511C43#511C43

#511C43 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.095 H 339.2°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#511C43
RGBrgb(81, 28, 67)
HSLhsl(316, 49%, 21%)
HSVhsv(316, 65%, 32%)
CMYKcmyk(0%, 65.4%, 17.3%, 68.2%)
CIE-LABlab(19.99, 29.98, -12.47)
CIE-LCHlch(19.99, 32.47, 337.42°)
OKLaboklab(32.26% 0.0886 -0.0336)
OKLCHoklch(32.26% 0.095 339.2)
XYZxyz(4.8218, 2.9855, 5.6314)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C43 #1C512A
analogous
#451C51 #511C43 #511C29
triadic
#511C43 #43511C #1C4351
tetradic
#511C43 #51451C #1C512A #1C2951
square
#511C43 #51451C #1C512A #1C2951
split-complementary
#511C43 #29511C #1C5145
monochromatic
#170813 #240C1D #511C43 #7E2C69 #AC3B8E

Accessibility & contrast

On white

13.15
#511C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#511C43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C43
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C43#FFFFFF#000000##FFFFFF
##511C431.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2B44
Deuteranopia (green-blind)
#2E3342
Tritanopia (blue-blind)
#561E2C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511c43;
/* rgb */ color: rgb(81, 28, 67);
/* oklch */ color: oklch(32.3% 0.095 339.2);
Tailwind
colors: {
  custom: {
    50: '#845c77',
    500: '#511c43',
    950: '#000000',
  },
}
SCSS
$custom: #511c43;
$custom-light: #845c77;
$custom-dark: #000000;
JSON
{
  "hex": "#511c43",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 67
  },
  "hsl": {
    "h": 315.849,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32258,
    "c": 0.09472,
    "h": 339.2
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#511C43
secondary
#428754
accent
#D87450
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511C43

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

Preview Lab → · Contrast checker → · Palette generator →

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