#521342#521342

#521342 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.109 H 339.8°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#521342
RGBrgb(82, 19, 66)
HSLhsl(315, 62%, 20%)
HSVhsv(315, 77%, 32%)
CMYKcmyk(0%, 76.8%, 19.5%, 67.8%)
CIE-LABlab(18.60, 34.34, -13.91)
CIE-LCHlch(18.60, 37.05, 337.95°)
OKLaboklab(31.26% 0.1022 -0.0375)
OKLCHoklch(31.26% 0.109 339.8)
XYZxyz(4.6960, 2.6534, 5.4180)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521342 #135223
analogous
#431352 #521342 #521323
triadic
#521342 #425213 #134252
tetradic
#521342 #524313 #135223 #132352
square
#521342 #524313 #135223 #132352
split-complementary
#521342 #235213 #135243
monochromatic
#190614 #20071A #521342 #841F6A #B52A92

Accessibility & contrast

On white

13.72
#521342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#521342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521342
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521342#FFFFFF#000000##FFFFFF
##5213421.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172743
Deuteranopia (green-blind)
#2B3141
Tritanopia (blue-blind)
#571528
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521342;
/* rgb */ color: rgb(82, 19, 66);
/* oklch */ color: oklch(31.3% 0.109 339.8);
Tailwind
colors: {
  custom: {
    50: '#855776',
    500: '#521342',
    950: '#000000',
  },
}
SCSS
$custom: #521342;
$custom-light: #855776;
$custom-dark: #000000;
JSON
{
  "hex": "#521342",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 315.238,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31264,
    "c": 0.10887,
    "h": 339.8
  },
  "luminance": 0.02653
}

Semantic roles & 50–950 ramp

primary
#521342
secondary
#368A4C
accent
#E56C42
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #521342

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

Preview Lab → · Contrast checker → · Palette generator →

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