#521536#521536

#521536 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.098 H 351.0°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#521536
RGBrgb(82, 21, 54)
HSLhsl(328, 59%, 20%)
HSVhsv(328, 74%, 32%)
CMYKcmyk(0%, 74.4%, 34.1%, 67.8%)
CIE-LABlab(18.35, 31.65, -5.89)
CIE-LCHlch(18.35, 32.20, 349.46°)
OKLaboklab(30.9% 0.0966 -0.0153)
OKLCHoklch(30.9% 0.098 351)
XYZxyz(4.4139, 2.5970, 3.7581)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521536 #155231
analogous
#4F1552 #521536 #521518
triadic
#521536 #365215 #153652
tetradic
#521536 #524F15 #155231 #151852
square
#521536 #524F15 #155231 #151852
split-complementary
#521536 #185215 #15524F
monochromatic
#180610 #210916 #521536 #832156 #B32E76

Accessibility & contrast

On white

13.82
#521536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521536
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521536#FFFFFF#000000##FFFFFF
##5215361.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2637
Deuteranopia (green-blind)
#303135
Tritanopia (blue-blind)
#591123
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521536;
/* rgb */ color: rgb(82, 21, 54);
/* oklch */ color: oklch(30.9% 0.098 351.0);
Tailwind
colors: {
  custom: {
    50: '#85586d',
    500: '#521536',
    950: '#000000',
  },
}
SCSS
$custom: #521536;
$custom-light: #85586d;
$custom-dark: #000000;
JSON
{
  "hex": "#521536",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 54
  },
  "hsl": {
    "h": 327.541,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30902,
    "c": 0.09775,
    "h": 351
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#521536
secondary
#398A5E
accent
#E28D45
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #521536

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

Preview Lab → · Contrast checker → · Palette generator →

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