#521346#521346

#521346 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.112 H 336.6°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#521346
RGBrgb(82, 19, 70)
HSLhsl(311, 62%, 20%)
HSVhsv(311, 77%, 32%)
CMYKcmyk(0%, 76.8%, 14.6%, 67.8%)
CIE-LABlab(18.81, 35.01, -16.35)
CIE-LCHlch(18.81, 38.64, 334.97°)
OKLaboklab(31.49% 0.1028 -0.0445)
OKLCHoklch(31.49% 0.112 336.6)
XYZxyz(4.8181, 2.7022, 6.0610)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521346 #13521F
analogous
#3F1352 #521346 #521326
triadic
#521346 #465213 #134652
tetradic
#521346 #523F13 #13521F #132652
square
#521346 #523F13 #13521F #132652
split-complementary
#521346 #265213 #13523F
monochromatic
#190615 #20071C #521346 #841F70 #B52A9B

Accessibility & contrast

On white

13.63
#521346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#521346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521346
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521346#FFFFFF#000000##FFFFFF
##5213461.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142847
Deuteranopia (green-blind)
#293144
Tritanopia (blue-blind)
#57172A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521346;
/* rgb */ color: rgb(82, 19, 70);
/* oklch */ color: oklch(31.5% 0.112 336.6);
Tailwind
colors: {
  custom: {
    50: '#855779',
    500: '#521346',
    950: '#000000',
  },
}
SCSS
$custom: #521346;
$custom-light: #855779;
$custom-dark: #000000;
JSON
{
  "hex": "#521346",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 311.429,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31486,
    "c": 0.11202,
    "h": 336.6
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#521346
secondary
#368A46
accent
#E56142
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #521346

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

Preview Lab → · Contrast checker → · Palette generator →

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