#521133#521133

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

Color values

HEX#521133
RGBrgb(82, 17, 51)
HSLhsl(329, 66%, 19%)
HSVhsv(329, 79%, 32%)
CMYKcmyk(0%, 79.3%, 37.8%, 67.8%)
CIE-LABlab(17.62, 32.95, -4.87)
CIE-LCHlch(17.62, 33.30, 351.60°)
OKLaboklab(30.32% 0.1009 -0.0125)
OKLCHoklch(30.32% 0.102 352.9)
XYZxyz(4.2779, 2.4343, 3.3759)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521133 #115230
analogous
#511152 #521133 #521113
triadic
#521133 #335211 #113352
tetradic
#521133 #525111 #115230 #111352
square
#521133 #525111 #115230 #111352
split-complementary
#521133 #135211 #115251
monochromatic
#190510 #1F0613 #521133 #851C53 #B72672

Accessibility & contrast

On white

14.12
#521133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521133
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521133#FFFFFF#000000##FFFFFF
##5211331.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2434
Deuteranopia (green-blind)
#2F2F32
Tritanopia (blue-blind)
#590B20
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521133;
/* rgb */ color: rgb(82, 17, 51);
/* oklch */ color: oklch(30.3% 0.102 352.9);
Tailwind
colors: {
  custom: {
    50: '#86566a',
    500: '#521133',
    950: '#000000',
  },
}
SCSS
$custom: #521133;
$custom-light: #86566a;
$custom-dark: #000000;
JSON
{
  "hex": "#521133",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 51
  },
  "hsl": {
    "h": 328.615,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30323,
    "c": 0.1017,
    "h": 352.9
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#521133
secondary
#348B5D
accent
#E9903F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #521133

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

Preview Lab → · Contrast checker → · Palette generator →

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