#521130#521130

#521130 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.100 H 355.9°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#521130
RGBrgb(82, 17, 48)
HSLhsl(331, 66%, 19%)
HSVhsv(331, 79%, 32%)
CMYKcmyk(0%, 79.3%, 41.5%, 67.8%)
CIE-LABlab(17.50, 32.57, -2.91)
CIE-LCHlch(17.50, 32.69, 354.90°)
OKLaboklab(30.2% 0.0999 -0.0072)
OKLCHoklch(30.2% 0.1 355.9)
XYZxyz(4.2139, 2.4087, 3.0387)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521130 #115233
analogous
#521151 #521130 #521311
triadic
#521130 #305211 #113052
tetradic
#521130 #515211 #115233 #131152
square
#521130 #515211 #115233 #131152
split-complementary
#521130 #115213 #115152
monochromatic
#19050F #1F0612 #521130 #851C4E #B7266B

Accessibility & contrast

On white

14.17
#521130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#521130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521130
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521130#FFFFFF#000000##FFFFFF
##5211301.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2331
Deuteranopia (green-blind)
#302F2F
Tritanopia (blue-blind)
#590A1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521130;
/* rgb */ color: rgb(82, 17, 48);
/* oklch */ color: oklch(30.2% 0.100 355.9);
Tailwind
colors: {
  custom: {
    50: '#865668',
    500: '#521130',
    950: '#000000',
  },
}
SCSS
$custom: #521130;
$custom-light: #865668;
$custom-dark: #000000;
JSON
{
  "hex": "#521130",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 48
  },
  "hsl": {
    "h": 331.385,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30198,
    "c": 0.10017,
    "h": 355.9
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#521130
secondary
#348B61
accent
#E9983F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #521130

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

Preview Lab → · Contrast checker → · Palette generator →

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