#521735#521735

#521735 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.1% C 0.094 H 352.6°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#521735
RGBrgb(82, 23, 53)
HSLhsl(329, 56%, 21%)
HSVhsv(329, 72%, 32%)
CMYKcmyk(0%, 72%, 35.4%, 67.8%)
CIE-LABlab(18.65, 30.59, -4.74)
CIE-LCHlch(18.65, 30.96, 351.18°)
OKLaboklab(31.1% 0.0933 -0.0122)
OKLCHoklch(31.1% 0.094 352.6)
XYZxyz(4.4289, 2.6642, 3.6485)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521735 #175234
analogous
#511752 #521735 #521717
triadic
#521735 #355217 #173552
tetradic
#521735 #525117 #175234 #171752
square
#521735 #525117 #175234 #171752
split-complementary
#521735 #175217 #175251
monochromatic
#18070F #220A16 #521735 #822454 #B23273

Accessibility & contrast

On white

13.70
#521735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#521735 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521735
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521735#FFFFFF#000000##FFFFFF
##5217351.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202736
Deuteranopia (green-blind)
#313134
Tritanopia (blue-blind)
#591323
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521735;
/* rgb */ color: rgb(82, 23, 53);
/* oklch */ color: oklch(31.1% 0.094 352.6);
Tailwind
colors: {
  custom: {
    50: '#85596c',
    500: '#521735',
    950: '#000000',
  },
}
SCSS
$custom: #521735;
$custom-light: #85596c;
$custom-dark: #000000;
JSON
{
  "hex": "#521735",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 53
  },
  "hsl": {
    "h": 329.492,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31104,
    "c": 0.09413,
    "h": 352.6
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#521735
secondary
#3C8962
accent
#DF9348
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #521735

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

Preview Lab → · Contrast checker → · Palette generator →

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