#521540#521540

#521540 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.104 H 341.7°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#521540
RGBrgb(82, 21, 64)
HSLhsl(318, 59%, 20%)
HSVhsv(318, 74%, 32%)
CMYKcmyk(0%, 74.4%, 22%, 67.8%)
CIE-LABlab(18.80, 33.16, -12.20)
CIE-LCHlch(18.80, 35.34, 339.79°)
OKLaboklab(31.38% 0.0992 -0.0327)
OKLCHoklch(31.38% 0.104 341.7)
XYZxyz(4.6734, 2.7008, 5.1247)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521540 #155227
analogous
#451552 #521540 #521521
triadic
#521540 #405215 #154052
tetradic
#521540 #524515 #155227 #152152
square
#521540 #524515 #155227 #152152
split-complementary
#521540 #215215 #155245
monochromatic
#180613 #21091A #521540 #832166 #B32E8C

Accessibility & contrast

On white

13.64
#521540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#521540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521540
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521540#FFFFFF#000000##FFFFFF
##5215401.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2741
Deuteranopia (green-blind)
#2D313F
Tritanopia (blue-blind)
#571628
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521540;
/* rgb */ color: rgb(82, 21, 64);
/* oklch */ color: oklch(31.4% 0.104 341.7);
Tailwind
colors: {
  custom: {
    50: '#855875',
    500: '#521540',
    950: '#000000',
  },
}
SCSS
$custom: #521540;
$custom-light: #855875;
$custom-dark: #000000;
JSON
{
  "hex": "#521540",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 317.705,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3138,
    "c": 0.10448,
    "h": 341.7
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#521540
secondary
#398A51
accent
#E27445
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #521540

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

Preview Lab → · Contrast checker → · Palette generator →

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