#521846#521846

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

Color values

HEX#521846
RGBrgb(82, 24, 70)
HSLhsl(312, 55%, 21%)
HSVhsv(312, 71%, 32%)
CMYKcmyk(0%, 70.7%, 14.6%, 67.8%)
CIE-LABlab(19.60, 32.81, -15.12)
CIE-LCHlch(19.60, 36.12, 335.25°)
OKLaboklab(32.06% 0.0963 -0.041)
OKLCHoklch(32.06% 0.105 336.9)
XYZxyz(4.9119, 2.8897, 6.0922)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521846 #185224
analogous
#411852 #521846 #521829
triadic
#521846 #465218 #184652
tetradic
#521846 #524118 #185224 #182952
square
#521846 #524118 #185224 #182952
split-complementary
#521846 #295218 #185241
monochromatic
#180714 #230A1E #521846 #81266E #B13497

Accessibility & contrast

On white

13.31
#521846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521846
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521846#FFFFFF#000000##FFFFFF
##5218461.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192A47
Deuteranopia (green-blind)
#2C3345
Tritanopia (blue-blind)
#571B2C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521846;
/* rgb */ color: rgb(82, 24, 70);
/* oklch */ color: oklch(32.1% 0.105 336.9);
Tailwind
colors: {
  custom: {
    50: '#855a79',
    500: '#521846',
    950: '#000000',
  },
}
SCSS
$custom: #521846;
$custom-light: #855a79;
$custom-dark: #000000;
JSON
{
  "hex": "#521846",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 70
  },
  "hsl": {
    "h": 312.414,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32058,
    "c": 0.10465,
    "h": 336.9
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#521846
secondary
#3D894D
accent
#DE684A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521846

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

Preview Lab → · Contrast checker → · Palette generator →

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