#521533#521533

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

Color values

HEX#521533
RGBrgb(82, 21, 51)
HSLhsl(330, 59%, 20%)
HSVhsv(330, 74%, 32%)
CMYKcmyk(0%, 74.4%, 37.8%, 67.8%)
CIE-LABlab(18.23, 31.24, -3.95)
CIE-LCHlch(18.23, 31.49, 352.79°)
OKLaboklab(30.77% 0.0956 -0.01)
OKLCHoklch(30.77% 0.096 354)
XYZxyz(4.3456, 2.5697, 3.3985)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521533 #155234
analogous
#521551 #521533 #521615
triadic
#521533 #335215 #153352
tetradic
#521533 #515215 #155234 #161552
square
#521533 #515215 #155234 #161552
split-complementary
#521533 #155216 #155152
monochromatic
#18060F #210915 #521533 #832151 #B32E70

Accessibility & contrast

On white

13.87
#521533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#521533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521533
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521533#FFFFFF#000000##FFFFFF
##5215331.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2534
Deuteranopia (green-blind)
#303132
Tritanopia (blue-blind)
#591022
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521533;
/* rgb */ color: rgb(82, 21, 51);
/* oklch */ color: oklch(30.8% 0.096 354.0);
Tailwind
colors: {
  custom: {
    50: '#86586a',
    500: '#521533',
    950: '#000000',
  },
}
SCSS
$custom: #521533;
$custom-light: #86586a;
$custom-dark: #000000;
JSON
{
  "hex": "#521533",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 51
  },
  "hsl": {
    "h": 330.492,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30773,
    "c": 0.09609,
    "h": 354
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#521533
secondary
#398A62
accent
#E29545
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #521533

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

Preview Lab → · Contrast checker → · Palette generator →

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