#521528#521528

#521528 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.092 H 5.5°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#521528
RGBrgb(82, 21, 40)
HSLhsl(341, 59%, 20%)
HSVhsv(341, 74%, 32%)
CMYKcmyk(0%, 74.4%, 51.2%, 67.8%)
CIE-LABlab(17.85, 29.91, 3.32)
CIE-LCHlch(17.85, 30.10, 6.33°)
OKLaboklab(30.36% 0.0913 0.0088)
OKLCHoklch(30.36% 0.092 5.5)
XYZxyz(4.1312, 2.4839, 2.2690)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521528 #15523F
analogous
#521547 #521528 #522015
triadic
#521528 #285215 #152852
tetradic
#521528 #475215 #15523F #201552
square
#521528 #475215 #15523F #201552
split-complementary
#521528 #155220 #154752
monochromatic
#18060C #210910 #521528 #832140 #B32E58

Accessibility & contrast

On white

14.03
#521528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#521528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521528
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521528#FFFFFF#000000##FFFFFF
##5215281.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222428
Deuteranopia (green-blind)
#333027
Tritanopia (blue-blind)
#5A0B1D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521528;
/* rgb */ color: rgb(82, 21, 40);
/* oklch */ color: oklch(30.4% 0.092 5.5);
Tailwind
colors: {
  custom: {
    50: '#865761',
    500: '#521528',
    950: '#000000',
  },
}
SCSS
$custom: #521528;
$custom-light: #865761;
$custom-dark: #000000;
JSON
{
  "hex": "#521528",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 40
  },
  "hsl": {
    "h": 341.311,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30362,
    "c": 0.0917,
    "h": 5.5
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#521528
secondary
#398A71
accent
#E2B145
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #521528

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

Preview Lab → · Contrast checker → · Palette generator →

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