#521041#521041

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

Color values

HEX#521041
RGBrgb(82, 16, 65)
HSLhsl(315, 67%, 19%)
HSVhsv(315, 80%, 32%)
CMYKcmyk(0%, 80.5%, 20.7%, 67.8%)
CIE-LABlab(18.13, 35.36, -13.95)
CIE-LCHlch(18.13, 38.01, 338.48°)
OKLaboklab(30.91% 0.1056 -0.0376)
OKLCHoklch(30.91% 0.112 340.4)
XYZxyz(4.6192, 2.5465, 5.2483)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521041 #105221
analogous
#421052 #521041 #521020
triadic
#521041 #415210 #104152
tetradic
#521041 #524210 #105221 #102052
square
#521041 #524210 #105221 #102052
split-complementary
#521041 #205210 #105242
monochromatic
#1A0514 #1F0618 #521041 #851A6A #B82492

Accessibility & contrast

On white

13.91
#521041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521041
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521041#FFFFFF#000000##FFFFFF
##5210411.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521041;
/* rgb */ color: rgb(82, 16, 65);
/* oklch */ color: oklch(30.9% 0.112 340.4);
Tailwind
colors: {
  custom: {
    50: '#855675',
    500: '#521041',
    950: '#000000',
  },
}
SCSS
$custom: #521041;
$custom-light: #855675;
$custom-dark: #000000;
JSON
{
  "hex": "#521041",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 315.455,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30906,
    "c": 0.1121,
    "h": 340.4
  },
  "luminance": 0.02546
}

Semantic roles & 50–950 ramp

primary
#521041
secondary
#328C49
accent
#EA6A3E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #521041

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

Preview Lab → · Contrast checker → · Palette generator →

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