#521145#521145

#521145 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.2% C 0.114 H 337.3°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#521145
RGBrgb(82, 17, 69)
HSLhsl(312, 66%, 19%)
HSVhsv(312, 79%, 32%)
CMYKcmyk(0%, 79.3%, 15.9%, 67.8%)
CIE-LABlab(18.47, 35.63, -16.18)
CIE-LCHlch(18.47, 39.14, 335.58°)
OKLaboklab(31.23% 0.1051 -0.044)
OKLCHoklch(31.23% 0.114 337.3)
XYZxyz(4.7544, 2.6248, 5.8853)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521145 #11521E
analogous
#3F1152 #521145 #521125
triadic
#521145 #455211 #114552
tetradic
#521145 #523F11 #11521E #112552
square
#521145 #523F11 #11521E #112552
split-complementary
#521145 #255211 #11523F
monochromatic
#190515 #1F061A #521145 #851C70 #B7269A

Accessibility & contrast

On white

13.77
#521145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#521145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521145
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521145#FFFFFF#000000##FFFFFF
##5211451.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521145;
/* rgb */ color: rgb(82, 17, 69);
/* oklch */ color: oklch(31.2% 0.114 337.3);
Tailwind
colors: {
  custom: {
    50: '#855679',
    500: '#521145',
    950: '#000000',
  },
}
SCSS
$custom: #521145;
$custom-light: #855679;
$custom-dark: #000000;
JSON
{
  "hex": "#521145",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 312,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31225,
    "c": 0.11389,
    "h": 337.3
  },
  "luminance": 0.02624
}

Semantic roles & 50–950 ramp

primary
#521145
secondary
#348B45
accent
#E9613F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #521145

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

Preview Lab → · Contrast checker → · Palette generator →

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