#521328#521328

#521328 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.094 H 4.6°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#521328
RGBrgb(82, 19, 40)
HSLhsl(340, 62%, 20%)
HSVhsv(340, 77%, 32%)
CMYKcmyk(0%, 76.8%, 51.2%, 67.8%)
CIE-LABlab(17.52, 30.81, 2.85)
CIE-LCHlch(17.52, 30.94, 5.29°)
OKLaboklab(30.12% 0.0941 0.0076)
OKLCHoklch(30.12% 0.094 4.6)
XYZxyz(4.0959, 2.4133, 2.2572)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521328 #13523D
analogous
#521348 #521328 #521E13
triadic
#521328 #285213 #132852
tetradic
#521328 #485213 #13523D #1E1352
square
#521328 #485213 #13523D #1E1352
split-complementary
#521328 #13521E #134852
monochromatic
#19060C #200710 #521328 #841F40 #B52A58

Accessibility & contrast

On white

14.16
#521328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#521328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521328
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521328#FFFFFF#000000##FFFFFF
##5213281.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212328
Deuteranopia (green-blind)
#323027
Tritanopia (blue-blind)
#5A081C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521328;
/* rgb */ color: rgb(82, 19, 40);
/* oklch */ color: oklch(30.1% 0.094 4.6);
Tailwind
colors: {
  custom: {
    50: '#865661',
    500: '#521328',
    950: '#000000',
  },
}
SCSS
$custom: #521328;
$custom-light: #865661;
$custom-dark: #000000;
JSON
{
  "hex": "#521328",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 40
  },
  "hsl": {
    "h": 340,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30122,
    "c": 0.09444,
    "h": 4.6
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#521328
secondary
#368A6E
accent
#E5AF42
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #521328

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

Preview Lab → · Contrast checker → · Palette generator →

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