#521532#521532

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

Color values

HEX#521532
RGBrgb(82, 21, 50)
HSLhsl(331, 59%, 20%)
HSVhsv(331, 74%, 32%)
CMYKcmyk(0%, 74.4%, 39%, 67.8%)
CIE-LABlab(18.19, 31.11, -3.30)
CIE-LCHlch(18.19, 31.28, 353.94°)
OKLaboklab(30.73% 0.0952 -0.0083)
OKLCHoklch(30.73% 0.096 355)
XYZxyz(4.3238, 2.5610, 3.2836)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521532 #155235
analogous
#521550 #521532 #521615
triadic
#521532 #325215 #153252
tetradic
#521532 #505215 #155235 #161552
square
#521532 #505215 #155235 #161552
split-complementary
#521532 #155216 #155052
monochromatic
#18060F #210914 #521532 #832150 #B32E6D

Accessibility & contrast

On white

13.89
#521532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521532
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521532#FFFFFF#000000##FFFFFF
##5215321.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202533
Deuteranopia (green-blind)
#313131
Tritanopia (blue-blind)
#591021
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521532;
/* rgb */ color: rgb(82, 21, 50);
/* oklch */ color: oklch(30.7% 0.096 355.0);
Tailwind
colors: {
  custom: {
    50: '#865869',
    500: '#521532',
    950: '#000000',
  },
}
SCSS
$custom: #521532;
$custom-light: #865869;
$custom-dark: #000000;
JSON
{
  "hex": "#521532",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 50
  },
  "hsl": {
    "h": 331.475,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30732,
    "c": 0.09557,
    "h": 355
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#521532
secondary
#398A63
accent
#E29845
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #521532

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

Preview Lab → · Contrast checker → · Palette generator →

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