#521046#521046

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

Color values

HEX#521046
RGBrgb(82, 16, 70)
HSLhsl(311, 67%, 19%)
HSVhsv(311, 80%, 32%)
CMYKcmyk(0%, 80.5%, 14.6%, 67.8%)
CIE-LABlab(18.40, 36.18, -16.99)
CIE-LCHlch(18.40, 39.97, 334.84°)
OKLaboklab(31.19% 0.1063 -0.0463)
OKLCHoklch(31.19% 0.116 336.5)
XYZxyz(4.7705, 2.6071, 6.0451)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521046 #10521C
analogous
#3D1052 #521046 #521025
triadic
#521046 #465210 #104652
tetradic
#521046 #523D10 #10521C #102552
square
#521046 #523D10 #10521C #102552
split-complementary
#521046 #255210 #10523D
monochromatic
#1A0516 #1F061A #521046 #851A72 #B8249D

Accessibility & contrast

On white

13.80
#521046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#521046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521046
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521046#FFFFFF#000000##FFFFFF
##5210461.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112647
Deuteranopia (green-blind)
#283044
Tritanopia (blue-blind)
#571529
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521046;
/* rgb */ color: rgb(82, 16, 70);
/* oklch */ color: oklch(31.2% 0.116 336.5);
Tailwind
colors: {
  custom: {
    50: '#855679',
    500: '#521046',
    950: '#000000',
  },
}
SCSS
$custom: #521046;
$custom-light: #855679;
$custom-dark: #000000;
JSON
{
  "hex": "#521046",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 310.909,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31187,
    "c": 0.11595,
    "h": 336.5
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#521046
secondary
#328C42
accent
#EA5D3E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #521046

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

Preview Lab → · Contrast checker → · Palette generator →

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