#511442#511442

#511442 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.2% C 0.107 H 339.2°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#511442
RGBrgb(81, 20, 66)
HSLhsl(315, 60%, 20%)
HSVhsv(315, 75%, 32%)
CMYKcmyk(0%, 75.3%, 18.5%, 68.2%)
CIE-LABlab(18.56, 33.62, -13.99)
CIE-LCHlch(18.56, 36.42, 337.41°)
OKLaboklab(31.2% 0.0998 -0.0378)
OKLCHoklch(31.2% 0.107 339.2)
XYZxyz(4.6270, 2.6434, 5.4197)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511442 #145123
analogous
#421451 #511442 #511424
triadic
#511442 #425114 #144251
tetradic
#511442 #514214 #145123 #142451
square
#511442 #514214 #145123 #142451
split-complementary
#511442 #245114 #145142
monochromatic
#190614 #20081A #511442 #82206A #B32C92

Accessibility & contrast

On white

13.74
#511442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511442
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511442#FFFFFF#000000##FFFFFF
##5114421.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172743
Deuteranopia (green-blind)
#2B3141
Tritanopia (blue-blind)
#561629
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511442;
/* rgb */ color: rgb(81, 20, 66);
/* oklch */ color: oklch(31.2% 0.107 339.2);
Tailwind
colors: {
  custom: {
    50: '#845876',
    500: '#511442',
    950: '#000000',
  },
}
SCSS
$custom: #511442;
$custom-light: #845876;
$custom-dark: #000000;
JSON
{
  "hex": "#511442",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 66
  },
  "hsl": {
    "h": 314.754,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31195,
    "c": 0.10669,
    "h": 339.2
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#511442
secondary
#38894C
accent
#E46B44
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #511442

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

Preview Lab → · Contrast checker → · Palette generator →

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