#521946#521946

#521946 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.103 H 337.0°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#521946
RGBrgb(82, 25, 70)
HSLhsl(313, 53%, 21%)
HSVhsv(313, 70%, 32%)
CMYKcmyk(0%, 69.5%, 14.6%, 67.8%)
CIE-LABlab(19.77, 32.33, -14.86)
CIE-LCHlch(19.77, 35.58, 335.32°)
OKLaboklab(32.18% 0.0949 -0.0403)
OKLCHoklch(32.18% 0.103 337)
XYZxyz(4.9329, 2.9317, 6.0992)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521946 #195225
analogous
#411952 #521946 #521929
triadic
#521946 #465219 #194652
tetradic
#521946 #524119 #195225 #192952
square
#521946 #524119 #195225 #192952
split-complementary
#521946 #295219 #195241
monochromatic
#170714 #230B1E #521946 #81276E #B03696

Accessibility & contrast

On white

13.24
#521946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#521946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521946
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521946#FFFFFF#000000##FFFFFF
##5219461.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A47
Deuteranopia (green-blind)
#2C3345
Tritanopia (blue-blind)
#571C2D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521946;
/* rgb */ color: rgb(82, 25, 70);
/* oklch */ color: oklch(32.2% 0.103 337.0);
Tailwind
colors: {
  custom: {
    50: '#855a79',
    500: '#521946',
    950: '#000000',
  },
}
SCSS
$custom: #521946;
$custom-light: #855a79;
$custom-dark: #000000;
JSON
{
  "hex": "#521946",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 312.632,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32183,
    "c": 0.10306,
    "h": 337
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#521946
secondary
#3E884E
accent
#DD6A4B
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521946

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

Preview Lab → · Contrast checker → · Palette generator →

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