#521337#521337

#521337 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.7% C 0.101 H 349.6°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#521337
RGBrgb(82, 19, 55)
HSLhsl(326, 62%, 20%)
HSVhsv(326, 77%, 32%)
CMYKcmyk(0%, 76.8%, 32.9%, 67.8%)
CIE-LABlab(18.08, 32.67, -7.01)
CIE-LCHlch(18.08, 33.41, 347.89°)
OKLaboklab(30.72% 0.0996 -0.0183)
OKLCHoklch(30.72% 0.101 349.6)
XYZxyz(4.4024, 2.5359, 3.8713)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521337 #13522E
analogous
#4D1352 #521337 #521318
triadic
#521337 #375213 #133752
tetradic
#521337 #524D13 #13522E #131852
square
#521337 #524D13 #13522E #131852
split-complementary
#521337 #185213 #13524D
monochromatic
#190611 #200716 #521337 #841F58 #B52A7A

Accessibility & contrast

On white

13.93
#521337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521337
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521337#FFFFFF#000000##FFFFFF
##5213371.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2538
Deuteranopia (green-blind)
#2F3036
Tritanopia (blue-blind)
#581023
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521337;
/* rgb */ color: rgb(82, 19, 55);
/* oklch */ color: oklch(30.7% 0.101 349.6);
Tailwind
colors: {
  custom: {
    50: '#86576d',
    500: '#521337',
    950: '#000000',
  },
}
SCSS
$custom: #521337;
$custom-light: #86576d;
$custom-dark: #000000;
JSON
{
  "hex": "#521337",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 325.714,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30716,
    "c": 0.10125,
    "h": 349.6
  },
  "luminance": 0.02535
}

Semantic roles & 50–950 ramp

primary
#521337
secondary
#368A5A
accent
#E58842
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #521337

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

Preview Lab → · Contrast checker → · Palette generator →

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