#521545#521545

#521545 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.108 H 337.5°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#521545
RGBrgb(82, 21, 69)
HSLhsl(313, 59%, 20%)
HSVhsv(313, 74%, 32%)
CMYKcmyk(0%, 74.4%, 15.9%, 67.8%)
CIE-LABlab(19.06, 33.99, -15.27)
CIE-LCHlch(19.06, 37.26, 335.80°)
OKLaboklab(31.65% 0.1002 -0.0414)
OKLCHoklch(31.65% 0.108 337.5)
XYZxyz(4.8221, 2.7603, 5.9079)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521545 #155222
analogous
#401552 #521545 #521526
triadic
#521545 #455215 #154552
tetradic
#521545 #524015 #155222 #152652
square
#521545 #524015 #155222 #152652
split-complementary
#521545 #265215 #155240
monochromatic
#180614 #21091C #521545 #83216E #B32E97

Accessibility & contrast

On white

13.53
#521545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#521545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521545
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521545#FFFFFF#000000##FFFFFF
##5215451.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172846
Deuteranopia (green-blind)
#2B3244
Tritanopia (blue-blind)
#57182B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521545;
/* rgb */ color: rgb(82, 21, 69);
/* oklch */ color: oklch(31.6% 0.108 337.5);
Tailwind
colors: {
  custom: {
    50: '#855879',
    500: '#521545',
    950: '#000000',
  },
}
SCSS
$custom: #521545;
$custom-light: #855879;
$custom-dark: #000000;
JSON
{
  "hex": "#521545",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 312.787,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31648,
    "c": 0.10838,
    "h": 337.5
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#521545
secondary
#398A4A
accent
#E26745
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521545

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

Preview Lab → · Contrast checker → · Palette generator →

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