#521534#521534

#521534 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.097 H 353.0°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#521534
RGBrgb(82, 21, 52)
HSLhsl(330, 59%, 20%)
HSVhsv(330, 74%, 32%)
CMYKcmyk(0%, 74.4%, 36.6%, 67.8%)
CIE-LABlab(18.27, 31.38, -4.60)
CIE-LCHlch(18.27, 31.71, 351.66°)
OKLaboklab(30.82% 0.0959 -0.0118)
OKLCHoklch(30.82% 0.097 353)
XYZxyz(4.3679, 2.5786, 3.5158)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521534 #155233
analogous
#511552 #521534 #521516
triadic
#521534 #345215 #153452
tetradic
#521534 #525115 #155233 #151652
square
#521534 #525115 #155233 #151652
split-complementary
#521534 #165215 #155251
monochromatic
#18060F #210915 #521534 #832153 #B32E72

Accessibility & contrast

On white

13.86
#521534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521534
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521534#FFFFFF#000000##FFFFFF
##5215341.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2635
Deuteranopia (green-blind)
#303133
Tritanopia (blue-blind)
#591122
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521534;
/* rgb */ color: rgb(82, 21, 52);
/* oklch */ color: oklch(30.8% 0.097 353.0);
Tailwind
colors: {
  custom: {
    50: '#86586b',
    500: '#521534',
    950: '#000000',
  },
}
SCSS
$custom: #521534;
$custom-light: #86586b;
$custom-dark: #000000;
JSON
{
  "hex": "#521534",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 52
  },
  "hsl": {
    "h": 329.508,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30815,
    "c": 0.09662,
    "h": 353
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#521534
secondary
#398A61
accent
#E29345
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #521534

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

Preview Lab → · Contrast checker → · Palette generator →

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