#511139#511139

#511139 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.4% C 0.104 H 346.7°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#511139
RGBrgb(81, 17, 57)
HSLhsl(323, 65%, 19%)
HSVhsv(323, 79%, 32%)
CMYKcmyk(0%, 79%, 29.6%, 68.2%)
CIE-LABlab(17.67, 33.47, -9.06)
CIE-LCHlch(17.67, 34.67, 344.86°)
OKLaboklab(30.41% 0.1016 -0.0239)
OKLCHoklch(30.41% 0.104 346.7)
XYZxyz(4.3325, 2.4461, 4.1141)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511139 #115129
analogous
#491151 #511139 #511119
triadic
#511139 #395111 #113951
tetradic
#511139 #514911 #115129 #111951
square
#511139 #514911 #115129 #111951
split-complementary
#511139 #195111 #115149
monochromatic
#190512 #1E0615 #511139 #841C5D #B62680

Accessibility & contrast

On white

14.10
#511139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511139
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511139#FFFFFF#000000##FFFFFF
##5111391.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A243A
Deuteranopia (green-blind)
#2D2F38
Tritanopia (blue-blind)
#570F23
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511139;
/* rgb */ color: rgb(81, 17, 57);
/* oklch */ color: oklch(30.4% 0.104 346.7);
Tailwind
colors: {
  custom: {
    50: '#85566f',
    500: '#511139',
    950: '#000000',
  },
}
SCSS
$custom: #511139;
$custom-light: #85566f;
$custom-dark: #000000;
JSON
{
  "hex": "#511139",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 322.5,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3041,
    "c": 0.1044,
    "h": 346.7
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#511139
secondary
#348A54
accent
#E87F40
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #511139

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

Preview Lab → · Contrast checker → · Palette generator →

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