#521039#521039

#521039 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.107 H 347.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#521039
RGBrgb(82, 16, 57)
HSLhsl(323, 67%, 19%)
HSVhsv(323, 80%, 32%)
CMYKcmyk(0%, 80.5%, 30.5%, 67.8%)
CIE-LABlab(17.74, 34.16, -8.94)
CIE-LCHlch(17.74, 35.31, 345.34°)
OKLaboklab(30.5% 0.1039 -0.0236)
OKLCHoklch(30.5% 0.107 347.2)
XYZxyz(4.4037, 2.4603, 4.1131)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521039 #105229
analogous
#4A1052 #521039 #521018
triadic
#521039 #395210 #103952
tetradic
#521039 #524A10 #105229 #101852
square
#521039 #524A10 #105229 #101852
split-complementary
#521039 #185210 #10524A
monochromatic
#1A0512 #1F0615 #521039 #851A5D #B82480

Accessibility & contrast

On white

14.08
#521039 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521039
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521039#FFFFFF#000000##FFFFFF
##5210391.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19243A
Deuteranopia (green-blind)
#2D3037
Tritanopia (blue-blind)
#580E23
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521039;
/* rgb */ color: rgb(82, 16, 57);
/* oklch */ color: oklch(30.5% 0.107 347.2);
Tailwind
colors: {
  custom: {
    50: '#86566f',
    500: '#521039',
    950: '#000000',
  },
}
SCSS
$custom: #521039;
$custom-light: #86566f;
$custom-dark: #000000;
JSON
{
  "hex": "#521039",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 57
  },
  "hsl": {
    "h": 322.727,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30495,
    "c": 0.10654,
    "h": 347.2
  },
  "luminance": 0.0246
}

Semantic roles & 50–950 ramp

primary
#521039
secondary
#328C54
accent
#EA7F3E
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #521039

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

Preview Lab → · Contrast checker → · Palette generator →

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