#521537#521537

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

Color values

HEX#521537
RGBrgb(82, 21, 55)
HSLhsl(327, 59%, 20%)
HSVhsv(327, 74%, 32%)
CMYKcmyk(0%, 74.4%, 32.9%, 67.8%)
CIE-LABlab(18.39, 31.79, -6.53)
CIE-LCHlch(18.39, 32.46, 348.39°)
OKLaboklab(30.95% 0.0969 -0.017)
OKLCHoklch(30.95% 0.098 350)
XYZxyz(4.4376, 2.6065, 3.8831)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521537 #155230
analogous
#4E1552 #521537 #521519
triadic
#521537 #375215 #153752
tetradic
#521537 #524E15 #155230 #151952
square
#521537 #524E15 #155230 #151952
split-complementary
#521537 #195215 #15524E
monochromatic
#180610 #210916 #521537 #832158 #B32E78

Accessibility & contrast

On white

13.80
#521537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521537
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521537#FFFFFF#000000##FFFFFF
##5215371.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2638
Deuteranopia (green-blind)
#2F3136
Tritanopia (blue-blind)
#581223
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521537;
/* rgb */ color: rgb(82, 21, 55);
/* oklch */ color: oklch(30.9% 0.098 350.0);
Tailwind
colors: {
  custom: {
    50: '#85586d',
    500: '#521537',
    950: '#000000',
  },
}
SCSS
$custom: #521537;
$custom-light: #85586d;
$custom-dark: #000000;
JSON
{
  "hex": "#521537",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 55
  },
  "hsl": {
    "h": 326.557,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30946,
    "c": 0.09835,
    "h": 350
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#521537
secondary
#398A5D
accent
#E28B45
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #521537

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

Preview Lab → · Contrast checker → · Palette generator →

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