#521440#521440

#521440 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.106 H 341.6°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#521440
RGBrgb(82, 20, 64)
HSLhsl(317, 61%, 20%)
HSVhsv(317, 76%, 32%)
CMYKcmyk(0%, 75.6%, 22%, 67.8%)
CIE-LABlab(18.65, 33.60, -12.44)
CIE-LCHlch(18.65, 35.83, 339.67°)
OKLaboklab(31.27% 0.1005 -0.0334)
OKLCHoklch(31.27% 0.106 341.6)
XYZxyz(4.6554, 2.6648, 5.1187)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521440 #145226
analogous
#451452 #521440 #521421
triadic
#521440 #405214 #144052
tetradic
#521440 #524514 #145226 #142152
square
#521440 #524514 #145226 #142152
split-complementary
#521440 #215214 #145245
monochromatic
#190613 #21081A #521440 #832066 #B42C8D

Accessibility & contrast

On white

13.70
#521440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#521440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521440
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521440#FFFFFF#000000##FFFFFF
##5214401.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192741
Deuteranopia (green-blind)
#2C313F
Tritanopia (blue-blind)
#571528
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521440;
/* rgb */ color: rgb(82, 20, 64);
/* oklch */ color: oklch(31.3% 0.106 341.6);
Tailwind
colors: {
  custom: {
    50: '#855875',
    500: '#521440',
    950: '#000000',
  },
}
SCSS
$custom: #521440;
$custom-light: #855875;
$custom-dark: #000000;
JSON
{
  "hex": "#521440",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 317.419,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.31267,
    "c": 0.10594,
    "h": 341.6
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#521440
secondary
#388A50
accent
#E47244
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #521440

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

Preview Lab → · Contrast checker → · Palette generator →

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