#521140#521140

#521140 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.110 H 341.3°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#521140
RGBrgb(82, 17, 64)
HSLhsl(317, 66%, 19%)
HSVhsv(317, 79%, 32%)
CMYKcmyk(0%, 79.3%, 22%, 67.8%)
CIE-LABlab(18.21, 34.82, -13.12)
CIE-LCHlch(18.21, 37.21, 339.36°)
OKLaboklab(30.95% 0.1043 -0.0353)
OKLCHoklch(30.95% 0.11 341.3)
XYZxyz(4.6057, 2.5654, 5.1021)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521140 #115223
analogous
#441152 #521140 #521120
triadic
#521140 #405211 #114052
tetradic
#521140 #524411 #115223 #112052
square
#521140 #524411 #115223 #112052
split-complementary
#521140 #205211 #115244
monochromatic
#190514 #1F0618 #521140 #851C68 #B7268F

Accessibility & contrast

On white

13.88
#521140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521140
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521140#FFFFFF#000000##FFFFFF
##5211401.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162641
Deuteranopia (green-blind)
#2B303E
Tritanopia (blue-blind)
#571227
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521140;
/* rgb */ color: rgb(82, 17, 64);
/* oklch */ color: oklch(30.9% 0.110 341.3);
Tailwind
colors: {
  custom: {
    50: '#855675',
    500: '#521140',
    950: '#000000',
  },
}
SCSS
$custom: #521140;
$custom-light: #855675;
$custom-dark: #000000;
JSON
{
  "hex": "#521140",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 316.615,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3095,
    "c": 0.11007,
    "h": 341.3
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#521140
secondary
#348B4C
accent
#E96E3F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #521140

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

Preview Lab → · Contrast checker → · Palette generator →

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