#521340#521340

#521340 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.2% C 0.107 H 341.5°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#521340
RGBrgb(82, 19, 64)
HSLhsl(317, 62%, 20%)
HSVhsv(317, 77%, 32%)
CMYKcmyk(0%, 76.8%, 22%, 67.8%)
CIE-LABlab(18.50, 34.02, -12.68)
CIE-LCHlch(18.50, 36.30, 339.56°)
OKLaboklab(31.16% 0.1018 -0.0341)
OKLCHoklch(31.16% 0.107 341.5)
XYZxyz(4.6381, 2.6302, 5.1129)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521340 #135225
analogous
#451352 #521340 #521321
triadic
#521340 #405213 #134052
tetradic
#521340 #524513 #135225 #132152
square
#521340 #524513 #135225 #132152
split-complementary
#521340 #215213 #135245
monochromatic
#190613 #200719 #521340 #841F67 #B52A8E

Accessibility & contrast

On white

13.76
#521340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521340
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521340#FFFFFF#000000##FFFFFF
##5213401.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521340;
/* rgb */ color: rgb(82, 19, 64);
/* oklch */ color: oklch(31.2% 0.107 341.5);
Tailwind
colors: {
  custom: {
    50: '#855775',
    500: '#521340',
    950: '#000000',
  },
}
SCSS
$custom: #521340;
$custom-light: #855775;
$custom-dark: #000000;
JSON
{
  "hex": "#521340",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 317.143,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31157,
    "c": 0.10736,
    "h": 341.5
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#521340
secondary
#368A4E
accent
#E57142
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #521340

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

Preview Lab → · Contrast checker → · Palette generator →

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