#521847#521847

#521847 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.105 H 336.1°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#521847
RGBrgb(82, 24, 71)
HSLhsl(311, 55%, 21%)
HSVhsv(311, 71%, 32%)
CMYKcmyk(0%, 70.7%, 13.4%, 67.8%)
CIE-LABlab(19.65, 32.98, -15.73)
CIE-LCHlch(19.65, 36.54, 334.51°)
OKLaboklab(32.11% 0.0964 -0.0428)
OKLCHoklch(32.11% 0.105 336.1)
XYZxyz(4.9437, 2.9025, 6.2599)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521847 #185223
analogous
#401852 #521847 #52182A
triadic
#521847 #475218 #184752
tetradic
#521847 #524018 #185223 #182A52
square
#521847 #524018 #185223 #182A52
split-complementary
#521847 #2A5218 #185240
monochromatic
#180714 #230A1E #521847 #812670 #B13499

Accessibility & contrast

On white

13.29
#521847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#521847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521847
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521847#FFFFFF#000000##FFFFFF
##5218471.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192A48
Deuteranopia (green-blind)
#2B3346
Tritanopia (blue-blind)
#561B2D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521847;
/* rgb */ color: rgb(82, 24, 71);
/* oklch */ color: oklch(32.1% 0.105 336.1);
Tailwind
colors: {
  custom: {
    50: '#855a7a',
    500: '#521847',
    950: '#000000',
  },
}
SCSS
$custom: #521847;
$custom-light: #855a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#521847",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 311.379,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32113,
    "c": 0.10549,
    "h": 336.1
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#521847
secondary
#3D894B
accent
#DE664A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521847

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

Preview Lab → · Contrast checker → · Palette generator →

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