#521538#521538

#521538 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.099 H 349.1°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#521538
RGBrgb(82, 21, 56)
HSLhsl(326, 59%, 20%)
HSVhsv(326, 74%, 32%)
CMYKcmyk(0%, 74.4%, 31.7%, 67.8%)
CIE-LABlab(18.44, 31.94, -7.17)
CIE-LCHlch(18.44, 32.73, 347.34°)
OKLaboklab(30.99% 0.0972 -0.0188)
OKLCHoklch(30.99% 0.099 349.1)
XYZxyz(4.4619, 2.6162, 4.0106)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521538 #15522F
analogous
#4D1552 #521538 #521519
triadic
#521538 #385215 #153852
tetradic
#521538 #524D15 #15522F #151952
square
#521538 #524D15 #15522F #151952
split-complementary
#521538 #195215 #15524D
monochromatic
#180611 #210917 #521538 #832159 #B32E7B

Accessibility & contrast

On white

13.79
#521538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521538
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521538#FFFFFF#000000##FFFFFF
##5215381.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2639
Deuteranopia (green-blind)
#2F3137
Tritanopia (blue-blind)
#581224
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521538;
/* rgb */ color: rgb(82, 21, 56);
/* oklch */ color: oklch(31.0% 0.099 349.1);
Tailwind
colors: {
  custom: {
    50: '#85586e',
    500: '#521538',
    950: '#000000',
  },
}
SCSS
$custom: #521538;
$custom-light: #85586e;
$custom-dark: #000000;
JSON
{
  "hex": "#521538",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 56
  },
  "hsl": {
    "h": 325.574,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30991,
    "c": 0.09896,
    "h": 349.1
  },
  "luminance": 0.02616
}

Semantic roles & 50–950 ramp

primary
#521538
secondary
#398A5B
accent
#E28845
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #521538

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

Preview Lab → · Contrast checker → · Palette generator →

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