#521132#521132

#521132 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.101 H 353.9°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#521132
RGBrgb(82, 17, 50)
HSLhsl(330, 66%, 19%)
HSVhsv(330, 79%, 32%)
CMYKcmyk(0%, 79.3%, 39%, 67.8%)
CIE-LABlab(17.58, 32.82, -4.22)
CIE-LCHlch(17.58, 33.09, 352.68°)
OKLaboklab(30.28% 0.1006 -0.0107)
OKLCHoklch(30.28% 0.101 353.9)
XYZxyz(4.2561, 2.4255, 3.2610)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521132 #115231
analogous
#521152 #521132 #521112
triadic
#521132 #325211 #113252
tetradic
#521132 #525211 #115231 #111252
square
#521132 #525211 #115231 #111252
split-complementary
#521132 #125211 #115252
monochromatic
#19050F #1F0613 #521132 #851C51 #B72670

Accessibility & contrast

On white

14.14
#521132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#521132 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521132
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521132#FFFFFF#000000##FFFFFF
##5211321.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2433
Deuteranopia (green-blind)
#2F2F31
Tritanopia (blue-blind)
#590B1F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521132;
/* rgb */ color: rgb(82, 17, 50);
/* oklch */ color: oklch(30.3% 0.101 353.9);
Tailwind
colors: {
  custom: {
    50: '#865669',
    500: '#521132',
    950: '#000000',
  },
}
SCSS
$custom: #521132;
$custom-light: #865669;
$custom-dark: #000000;
JSON
{
  "hex": "#521132",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 50
  },
  "hsl": {
    "h": 329.538,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30281,
    "c": 0.10117,
    "h": 353.9
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#521132
secondary
#348B5F
accent
#E9933F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #521132

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

Preview Lab → · Contrast checker → · Palette generator →

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