#521043#521043

#521043 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.114 H 338.8°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#521043
RGBrgb(82, 16, 67)
HSLhsl(314, 67%, 19%)
HSVhsv(314, 80%, 32%)
CMYKcmyk(0%, 80.5%, 18.3%, 67.8%)
CIE-LABlab(18.23, 35.68, -15.17)
CIE-LCHlch(18.23, 38.78, 336.97°)
OKLaboklab(31.02% 0.1059 -0.0411)
OKLCHoklch(31.02% 0.114 338.8)
XYZxyz(4.6782, 2.5701, 5.5588)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521043 #10521F
analogous
#401052 #521043 #521022
triadic
#521043 #435210 #104352
tetradic
#521043 #524010 #10521F #102252
square
#521043 #524010 #10521F #102252
split-complementary
#521043 #225210 #105240
monochromatic
#1A0515 #1F0619 #521043 #851A6D #B82497

Accessibility & contrast

On white

13.87
#521043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#521043 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521043
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521043#FFFFFF#000000##FFFFFF
##5210431.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142644
Deuteranopia (green-blind)
#293041
Tritanopia (blue-blind)
#571328
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521043;
/* rgb */ color: rgb(82, 16, 67);
/* oklch */ color: oklch(31.0% 0.114 338.8);
Tailwind
colors: {
  custom: {
    50: '#855677',
    500: '#521043',
    950: '#000000',
  },
}
SCSS
$custom: #521043;
$custom-light: #855677;
$custom-dark: #000000;
JSON
{
  "hex": "#521043",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 313.636,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31016,
    "c": 0.11361,
    "h": 338.8
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#521043
secondary
#328C46
accent
#EA653E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #521043

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

Preview Lab → · Contrast checker → · Palette generator →

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