#511034#511034

#511034 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.103 H 351.2°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#511034
RGBrgb(81, 16, 52)
HSLhsl(327, 67%, 19%)
HSVhsv(327, 80%, 32%)
CMYKcmyk(0%, 80.2%, 35.8%, 68.2%)
CIE-LABlab(17.31, 33.16, -6.06)
CIE-LCHlch(17.31, 33.71, 349.64°)
OKLaboklab(30.07% 0.1015 -0.0157)
OKLCHoklch(30.07% 0.103 351.2)
XYZxyz(4.1987, 2.3683, 3.4842)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511034 #10512D
analogous
#4E1051 #511034 #511014
triadic
#511034 #345110 #103451
tetradic
#511034 #514E10 #10512D #101451
square
#511034 #514E10 #10512D #101451
split-complementary
#511034 #145110 #10514E
monochromatic
#1A0510 #1E0613 #511034 #841A55 #B72476

Accessibility & contrast

On white

14.25
#511034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#511034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511034
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511034#FFFFFF#000000##FFFFFF
##5110341.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2335
Deuteranopia (green-blind)
#2E2F33
Tritanopia (blue-blind)
#580B20
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511034;
/* rgb */ color: rgb(81, 16, 52);
/* oklch */ color: oklch(30.1% 0.103 351.2);
Tailwind
colors: {
  custom: {
    50: '#85556b',
    500: '#511034',
    950: '#000000',
  },
}
SCSS
$custom: #511034;
$custom-light: #85556b;
$custom-dark: #000000;
JSON
{
  "hex": "#511034",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 326.769,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30074,
    "c": 0.10267,
    "h": 351.2
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#511034
secondary
#328B5A
accent
#EA8B3E
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #511034

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

Preview Lab → · Contrast checker → · Palette generator →

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