#521045#521045

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

Color values

HEX#521045
RGBrgb(82, 16, 69)
HSLhsl(312, 67%, 19%)
HSVhsv(312, 80%, 32%)
CMYKcmyk(0%, 80.5%, 15.9%, 67.8%)
CIE-LABlab(18.34, 36.01, -16.39)
CIE-LCHlch(18.34, 39.57, 335.53°)
OKLaboklab(31.13% 0.1062 -0.0446)
OKLCHoklch(31.13% 0.115 337.2)
XYZxyz(4.7392, 2.5945, 5.8803)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521045 #10521D
analogous
#3E1052 #521045 #521024
triadic
#521045 #455210 #104552
tetradic
#521045 #523E10 #10521D #102452
square
#521045 #523E10 #10521D #102452
split-complementary
#521045 #245210 #10523E
monochromatic
#1A0516 #1F061A #521045 #851A70 #B8249B

Accessibility & contrast

On white

13.83
#521045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521045
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521045#FFFFFF#000000##FFFFFF
##5210451.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122646
Deuteranopia (green-blind)
#293043
Tritanopia (blue-blind)
#571429
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521045;
/* rgb */ color: rgb(82, 16, 69);
/* oklch */ color: oklch(31.1% 0.115 337.2);
Tailwind
colors: {
  custom: {
    50: '#855679',
    500: '#521045',
    950: '#000000',
  },
}
SCSS
$custom: #521045;
$custom-light: #855679;
$custom-dark: #000000;
JSON
{
  "hex": "#521045",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 311.818,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31129,
    "c": 0.11516,
    "h": 337.2
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#521045
secondary
#328C44
accent
#EA603E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #521045

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

Preview Lab → · Contrast checker → · Palette generator →

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