#521728#521728

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

Color values

HEX#521728
RGBrgb(82, 23, 40)
HSLhsl(343, 56%, 21%)
HSVhsv(343, 72%, 32%)
CMYKcmyk(0%, 72%, 51.2%, 67.8%)
CIE-LABlab(18.19, 28.97, 3.81)
CIE-LCHlch(18.19, 29.22, 7.49°)
OKLaboklab(30.62% 0.0883 0.01)
OKLCHoklch(30.62% 0.089 6.5)
XYZxyz(4.1694, 2.5604, 2.2817)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521728 #175241
analogous
#521745 #521728 #522317
triadic
#521728 #285217 #172852
tetradic
#521728 #455217 #175241 #231752
square
#521728 #455217 #175241 #231752
split-complementary
#521728 #175223 #174552
monochromatic
#18070C #220A11 #521728 #82243F #B23257

Accessibility & contrast

On white

13.89
#521728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521728
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521728#FFFFFF#000000##FFFFFF
##5217281.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242528
Deuteranopia (green-blind)
#333127
Tritanopia (blue-blind)
#5A0E1E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521728;
/* rgb */ color: rgb(82, 23, 40);
/* oklch */ color: oklch(30.6% 0.089 6.5);
Tailwind
colors: {
  custom: {
    50: '#865861',
    500: '#521728',
    950: '#000000',
  },
}
SCSS
$custom: #521728;
$custom-light: #865861;
$custom-dark: #000000;
JSON
{
  "hex": "#521728",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 40
  },
  "hsl": {
    "h": 342.712,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30617,
    "c": 0.08886,
    "h": 6.5
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#521728
secondary
#3C8973
accent
#DFB448
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #521728

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

Preview Lab → · Contrast checker → · Palette generator →

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