#521244#521244

#521244 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.3% C 0.112 H 338.1°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#521244
RGBrgb(82, 18, 68)
HSLhsl(313, 64%, 20%)
HSVhsv(313, 78%, 32%)
CMYKcmyk(0%, 78%, 17.1%, 67.8%)
CIE-LABlab(18.56, 35.08, -15.36)
CIE-LCHlch(18.56, 38.29, 336.35°)
OKLaboklab(31.27% 0.1037 -0.0416)
OKLCHoklch(31.27% 0.112 338.1)
XYZxyz(4.7395, 2.6442, 5.7285)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521244 #125220
analogous
#401252 #521244 #521224
triadic
#521244 #445212 #124452
tetradic
#521244 #524012 #125220 #122452
square
#521244 #524012 #125220 #122452
split-complementary
#521244 #245212 #125240
monochromatic
#190615 #20071A #521244 #841D6E #B62897

Accessibility & contrast

On white

13.74
#521244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#521244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521244
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521244#FFFFFF#000000##FFFFFF
##5212441.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152745
Deuteranopia (green-blind)
#2A3142
Tritanopia (blue-blind)
#571529
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521244;
/* rgb */ color: rgb(82, 18, 68);
/* oklch */ color: oklch(31.3% 0.112 338.1);
Tailwind
colors: {
  custom: {
    50: '#855778',
    500: '#521244',
    950: '#000000',
  },
}
SCSS
$custom: #521244;
$custom-light: #855778;
$custom-dark: #000000;
JSON
{
  "hex": "#521244",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 68
  },
  "hsl": {
    "h": 313.125,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31269,
    "c": 0.11178,
    "h": 338.1
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#521244
secondary
#358B48
accent
#E76541
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #521244

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

Preview Lab → · Contrast checker → · Palette generator →

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