#521146#521146

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

Color values

HEX#521146
RGBrgb(82, 17, 70)
HSLhsl(311, 66%, 19%)
HSVhsv(311, 79%, 32%)
CMYKcmyk(0%, 79.3%, 14.6%, 67.8%)
CIE-LABlab(18.53, 35.80, -16.79)
CIE-LCHlch(18.53, 39.54, 334.88°)
OKLaboklab(31.28% 0.1052 -0.0457)
OKLCHoklch(31.28% 0.115 336.5)
XYZxyz(4.7857, 2.6374, 6.0502)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521146 #11521D
analogous
#3E1152 #521146 #521126
triadic
#521146 #465211 #114652
tetradic
#521146 #523E11 #11521D #112652
square
#521146 #523E11 #11521D #112652
split-complementary
#521146 #265211 #11523E
monochromatic
#190516 #1F061B #521146 #851C71 #B7269D

Accessibility & contrast

On white

13.75
#521146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521146
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521146#FFFFFF#000000##FFFFFF
##5211461.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122747
Deuteranopia (green-blind)
#293144
Tritanopia (blue-blind)
#57152A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521146;
/* rgb */ color: rgb(82, 17, 70);
/* oklch */ color: oklch(31.3% 0.115 336.5);
Tailwind
colors: {
  custom: {
    50: '#855779',
    500: '#521146',
    950: '#000000',
  },
}
SCSS
$custom: #521146;
$custom-light: #855779;
$custom-dark: #000000;
JSON
{
  "hex": "#521146",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 311.077,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31283,
    "c": 0.11468,
    "h": 336.5
  },
  "luminance": 0.02637
}

Semantic roles & 50–950 ramp

primary
#521146
secondary
#348B44
accent
#E95E3F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #521146

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

Preview Lab → · Contrast checker → · Palette generator →

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