#521745#521745

#521745 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.105 H 337.7°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#521745
RGBrgb(82, 23, 69)
HSLhsl(313, 56%, 21%)
HSVhsv(313, 72%, 32%)
CMYKcmyk(0%, 72%, 15.9%, 67.8%)
CIE-LABlab(19.38, 33.10, -14.77)
CIE-LCHlch(19.38, 36.24, 335.94°)
OKLaboklab(31.88% 0.0975 -0.04)
OKLCHoklch(31.88% 0.105 337.7)
XYZxyz(4.8603, 2.8367, 5.9206)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521745 #175224
analogous
#411752 #521745 #521727
triadic
#521745 #455217 #174552
tetradic
#521745 #524117 #175224 #172752
square
#521745 #524117 #175224 #172752
split-complementary
#521745 #275217 #175241
monochromatic
#180714 #220A1D #521745 #82246D #B23295

Accessibility & contrast

On white

13.40
#521745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#521745 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521745
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521745#FFFFFF#000000##FFFFFF
##5217451.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192946
Deuteranopia (green-blind)
#2C3244
Tritanopia (blue-blind)
#571A2B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521745;
/* rgb */ color: rgb(82, 23, 69);
/* oklch */ color: oklch(31.9% 0.105 337.7);
Tailwind
colors: {
  custom: {
    50: '#855978',
    500: '#521745',
    950: '#000000',
  },
}
SCSS
$custom: #521745;
$custom-light: #855978;
$custom-dark: #000000;
JSON
{
  "hex": "#521745",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 69
  },
  "hsl": {
    "h": 313.22,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31881,
    "c": 0.10538,
    "h": 337.7
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#521745
secondary
#3C894D
accent
#DF6A48
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521745

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

Preview Lab → · Contrast checker → · Palette generator →

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