#521334#521334

#521334 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.100 H 352.5°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#521334
RGBrgb(82, 19, 52)
HSLhsl(329, 62%, 20%)
HSVhsv(329, 77%, 32%)
CMYKcmyk(0%, 76.8%, 36.6%, 67.8%)
CIE-LABlab(17.95, 32.25, -5.07)
CIE-LCHlch(17.95, 32.65, 351.06°)
OKLaboklab(30.58% 0.0987 -0.013)
OKLCHoklch(30.58% 0.1 352.5)
XYZxyz(4.3326, 2.5080, 3.5041)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521334 #135231
analogous
#501352 #521334 #521315
triadic
#521334 #345213 #133452
tetradic
#521334 #525013 #135231 #131552
square
#521334 #525013 #135231 #131552
split-complementary
#521334 #155213 #135250
monochromatic
#190610 #200714 #521334 #841F54 #B52A73

Accessibility & contrast

On white

13.99
#521334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#521334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521334
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521334#FFFFFF#000000##FFFFFF
##5213341.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2535
Deuteranopia (green-blind)
#2F3033
Tritanopia (blue-blind)
#590E21
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521334;
/* rgb */ color: rgb(82, 19, 52);
/* oklch */ color: oklch(30.6% 0.100 352.5);
Tailwind
colors: {
  custom: {
    50: '#86576b',
    500: '#521334',
    950: '#000000',
  },
}
SCSS
$custom: #521334;
$custom-light: #86576b;
$custom-dark: #000000;
JSON
{
  "hex": "#521334",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 328.571,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30583,
    "c": 0.09951,
    "h": 352.5
  },
  "luminance": 0.02508
}

Semantic roles & 50–950 ramp

primary
#521334
secondary
#368A5E
accent
#E59042
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #521334

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

Preview Lab → · Contrast checker → · Palette generator →

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