#521546#521546

#521546 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.109 H 336.7°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#521546
RGBrgb(82, 21, 70)
HSLhsl(312, 59%, 20%)
HSVhsv(312, 74%, 32%)
CMYKcmyk(0%, 74.4%, 14.6%, 67.8%)
CIE-LABlab(19.11, 34.16, -15.88)
CIE-LCHlch(19.11, 37.67, 335.07°)
OKLaboklab(31.7% 0.1003 -0.0432)
OKLCHoklch(31.7% 0.109 336.7)
XYZxyz(4.8534, 2.7728, 6.0728)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521546 #155221
analogous
#3F1552 #521546 #521528
triadic
#521546 #465215 #154652
tetradic
#521546 #523F15 #155221 #152852
square
#521546 #523F15 #155221 #152852
split-complementary
#521546 #285215 #15523F
monochromatic
#180615 #21091C #521546 #832170 #B32E99

Accessibility & contrast

On white

13.51
#521546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#521546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521546
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521546#FFFFFF#000000##FFFFFF
##5215461.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162847
Deuteranopia (green-blind)
#2A3245
Tritanopia (blue-blind)
#57182B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521546;
/* rgb */ color: rgb(82, 21, 70);
/* oklch */ color: oklch(31.7% 0.109 336.7);
Tailwind
colors: {
  custom: {
    50: '#855879',
    500: '#521546',
    950: '#000000',
  },
}
SCSS
$custom: #521546;
$custom-light: #855879;
$custom-dark: #000000;
JSON
{
  "hex": "#521546",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 311.803,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31704,
    "c": 0.10919,
    "h": 336.7
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#521546
secondary
#398A49
accent
#E26445
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521546

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

Preview Lab → · Contrast checker → · Palette generator →

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