#521729#521729

#521729 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.6% C 0.089 H 5.4°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#521729
RGBrgb(82, 23, 41)
HSLhsl(342, 56%, 21%)
HSVhsv(342, 72%, 32%)
CMYKcmyk(0%, 72%, 50%, 67.8%)
CIE-LABlab(18.22, 29.08, 3.14)
CIE-LCHlch(18.22, 29.25, 6.16°)
OKLaboklab(30.65% 0.0887 0.0084)
OKLCHoklch(30.65% 0.089 5.4)
XYZxyz(4.1866, 2.5672, 2.3725)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521729 #175240
analogous
#521746 #521729 #522217
triadic
#521729 #295217 #172952
tetradic
#521729 #465217 #175240 #221752
square
#521729 #465217 #175240 #221752
split-complementary
#521729 #175222 #174652
monochromatic
#18070C #220A11 #521729 #822441 #B23259

Accessibility & contrast

On white

13.88
#521729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#521729 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521729
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521729#FFFFFF#000000##FFFFFF
##5217291.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242529
Deuteranopia (green-blind)
#333128
Tritanopia (blue-blind)
#5A0F1E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521729;
/* rgb */ color: rgb(82, 23, 41);
/* oklch */ color: oklch(30.6% 0.089 5.4);
Tailwind
colors: {
  custom: {
    50: '#865862',
    500: '#521729',
    950: '#000000',
  },
}
SCSS
$custom: #521729;
$custom-light: #865862;
$custom-dark: #000000;
JSON
{
  "hex": "#521729",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 41
  },
  "hsl": {
    "h": 341.695,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3065,
    "c": 0.08911,
    "h": 5.4
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#521729
secondary
#3C8971
accent
#DFB148
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #521729

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

Preview Lab → · Contrast checker → · Palette generator →

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