#521040#521040

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

Color values

HEX#521040
RGBrgb(82, 16, 64)
HSLhsl(316, 67%, 19%)
HSVhsv(316, 80%, 32%)
CMYKcmyk(0%, 80.5%, 22%, 67.8%)
CIE-LABlab(18.08, 35.21, -13.33)
CIE-LCHlch(18.08, 37.64, 339.26°)
OKLaboklab(30.85% 0.1054 -0.0359)
OKLCHoklch(30.85% 0.111 341.2)
XYZxyz(4.5905, 2.5350, 5.0970)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521040 #105222
analogous
#431052 #521040 #52101F
triadic
#521040 #405210 #104052
tetradic
#521040 #524310 #105222 #101F52
square
#521040 #524310 #105222 #101F52
split-complementary
#521040 #1F5210 #105243
monochromatic
#1A0514 #1F0618 #521040 #851A68 #B82490

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##521040#FFFFFF#000000##FFFFFF
##5210401.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)
#162541
Deuteranopia (green-blind)
#2B303E
Tritanopia (blue-blind)
#571126
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521040;
/* rgb */ color: rgb(82, 16, 64);
/* oklch */ color: oklch(30.9% 0.111 341.2);
Tailwind
colors: {
  custom: {
    50: '#855675',
    500: '#521040',
    950: '#000000',
  },
}
SCSS
$custom: #521040;
$custom-light: #855675;
$custom-dark: #000000;
JSON
{
  "hex": "#521040",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 316.364,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30852,
    "c": 0.11136,
    "h": 341.2
  },
  "luminance": 0.02535
}

Semantic roles & 50–950 ramp

primary
#521040
secondary
#328C4B
accent
#EA6D3E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #521040

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

Preview Lab → · Contrast checker → · Palette generator →

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