#522149#522149

#522149 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.5% C 0.092 H 335.0°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#522149
RGBrgb(82, 33, 73)
HSLhsl(311, 43%, 23%)
HSVhsv(311, 60%, 32%)
CMYKcmyk(0%, 59.8%, 11%, 67.8%)
CIE-LABlab(21.44, 28.74, -14.31)
CIE-LCHlch(21.44, 32.10, 333.53°)
OKLaboklab(33.46% 0.0833 -0.0388)
OKLCHoklch(33.46% 0.092 335)
XYZxyz(5.2262, 3.3630, 6.6759)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522149 #21522A
analogous
#422152 #522149 #522131
triadic
#522149 #495221 #214952
tetradic
#522149 #524221 #21522A #213152
square
#522149 #524221 #21522A #213152
split-complementary
#522149 #315221 #215242
monochromatic
#160913 #260F22 #522149 #7E3370 #A94497

Accessibility & contrast

On white

12.56
#522149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#522149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522149
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522149#FFFFFF#000000##FFFFFF
##5221491.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212F4A
Deuteranopia (green-blind)
#2F3648
Tritanopia (blue-blind)
#562431
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #522149;
/* rgb */ color: rgb(82, 33, 73);
/* oklch */ color: oklch(33.5% 0.092 335.0);
Tailwind
colors: {
  custom: {
    50: '#845f7c',
    500: '#522149',
    950: '#000000',
  },
}
SCSS
$custom: #522149;
$custom-light: #845f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#522149",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 311.02,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33462,
    "c": 0.09188,
    "h": 335
  },
  "luminance": 0.03363
}

Semantic roles & 50–950 ramp

primary
#522149
secondary
#498654
accent
#D26C55
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0509
muted
#7C797B

Preview Lab

Preview with #522149

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

Preview Lab → · Contrast checker → · Palette generator →

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