#521345#521345

#521345 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.111 H 337.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#521345
RGBrgb(82, 19, 69)
HSLhsl(312, 62%, 20%)
HSVhsv(312, 77%, 32%)
CMYKcmyk(0%, 76.8%, 15.9%, 67.8%)
CIE-LABlab(18.76, 34.84, -15.74)
CIE-LCHlch(18.76, 38.23, 335.68°)
OKLaboklab(31.43% 0.1027 -0.0428)
OKLCHoklch(31.43% 0.111 337.4)
XYZxyz(4.7868, 2.6897, 5.8961)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521345 #135220
analogous
#401352 #521345 #521326
triadic
#521345 #455213 #134552
tetradic
#521345 #524013 #135220 #132652
square
#521345 #524013 #135220 #132652
split-complementary
#521345 #265213 #135240
monochromatic
#190615 #20071B #521345 #841F6F #B52A99

Accessibility & contrast

On white

13.66
#521345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#521345 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521345
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521345#FFFFFF#000000##FFFFFF
##5213451.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152746
Deuteranopia (green-blind)
#2A3143
Tritanopia (blue-blind)
#57162A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521345;
/* rgb */ color: rgb(82, 19, 69);
/* oklch */ color: oklch(31.4% 0.111 337.4);
Tailwind
colors: {
  custom: {
    50: '#855779',
    500: '#521345',
    950: '#000000',
  },
}
SCSS
$custom: #521345;
$custom-light: #855779;
$custom-dark: #000000;
JSON
{
  "hex": "#521345",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 69
  },
  "hsl": {
    "h": 312.381,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31429,
    "c": 0.11122,
    "h": 337.4
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#521345
secondary
#368A48
accent
#E56442
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #521345

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

Preview Lab → · Contrast checker → · Palette generator →

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