#511A45#511A45

#511A45 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.100 H 337.2°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#511A45
RGBrgb(81, 26, 69)
HSLhsl(313, 51%, 21%)
HSVhsv(313, 68%, 32%)
CMYKcmyk(0%, 67.9%, 14.8%, 68.2%)
CIE-LABlab(19.71, 31.35, -14.27)
CIE-LCHlch(19.71, 34.45, 335.53°)
OKLaboklab(32.09% 0.092 -0.0386)
OKLCHoklch(32.09% 0.1 337.2)
XYZxyz(4.8370, 2.9182, 5.9376)
Luminance0.0292 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A45 #1A5126
analogous
#411A51 #511A45 #511A29
triadic
#511A45 #45511A #1A4551
tetradic
#511A45 #51411A #1A5126 #1A2951
square
#511A45 #51411A #1A5126 #1A2951
split-complementary
#511A45 #29511A #1A5141
monochromatic
#170714 #230B1E #511A45 #7F296C #AE3894

Accessibility & contrast

On white

13.26
#511A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#511A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A45
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A45#FFFFFF#000000##FFFFFF
##511A451.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2A46
Deuteranopia (green-blind)
#2C3344
Tritanopia (blue-blind)
#551D2C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511a45;
/* rgb */ color: rgb(81, 26, 69);
/* oklch */ color: oklch(32.1% 0.100 337.2);
Tailwind
colors: {
  custom: {
    50: '#845b78',
    500: '#511a45',
    950: '#000000',
  },
}
SCSS
$custom: #511a45;
$custom-light: #845b78;
$custom-dark: #000000;
JSON
{
  "hex": "#511a45",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 313.091,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32091,
    "c": 0.09979,
    "h": 337.2
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#511A45
secondary
#40874F
accent
#DB6C4D
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511A45

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

Preview Lab → · Contrast checker → · Palette generator →

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