#521844#521844

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

Color values

HEX#521844
RGBrgb(82, 24, 68)
HSLhsl(314, 55%, 21%)
HSVhsv(314, 71%, 32%)
CMYKcmyk(0%, 70.7%, 17.1%, 67.8%)
CIE-LABlab(19.49, 32.46, -13.90)
CIE-LCHlch(19.49, 35.31, 336.81°)
OKLaboklab(31.95% 0.0959 -0.0376)
OKLCHoklch(31.95% 0.103 338.6)
XYZxyz(4.8498, 2.8649, 5.7653)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521844 #185226
analogous
#431852 #521844 #521827
triadic
#521844 #445218 #184452
tetradic
#521844 #524318 #185226 #182752
square
#521844 #524318 #185226 #182752
split-complementary
#521844 #275218 #185243
monochromatic
#180714 #230A1D #521844 #81266B #B13493

Accessibility & contrast

On white

13.35
#521844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#521844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521844
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521844#FFFFFF#000000##FFFFFF
##5218441.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2945
Deuteranopia (green-blind)
#2C3343
Tritanopia (blue-blind)
#571A2B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521844;
/* rgb */ color: rgb(82, 24, 68);
/* oklch */ color: oklch(31.9% 0.103 338.6);
Tailwind
colors: {
  custom: {
    50: '#855a78',
    500: '#521844',
    950: '#000000',
  },
}
SCSS
$custom: #521844;
$custom-light: #855a78;
$custom-dark: #000000;
JSON
{
  "hex": "#521844",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 314.483,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3195,
    "c": 0.103,
    "h": 338.6
  },
  "luminance": 0.02864
}

Semantic roles & 50–950 ramp

primary
#521844
secondary
#3D894F
accent
#DE6E4A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521844

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

Preview Lab → · Contrast checker → · Palette generator →

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