#521727#521727

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

Color values

HEX#521727
RGBrgb(82, 23, 39)
HSLhsl(344, 56%, 21%)
HSVhsv(344, 72%, 32%)
CMYKcmyk(0%, 72%, 52.4%, 67.8%)
CIE-LABlab(18.16, 28.86, 4.48)
CIE-LCHlch(18.16, 29.21, 8.82°)
OKLaboklab(30.59% 0.0879 0.0117)
OKLCHoklch(30.59% 0.089 7.6)
XYZxyz(4.1526, 2.5536, 2.1933)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521727 #175242
analogous
#521744 #521727 #522417
triadic
#521727 #275217 #172752
tetradic
#521727 #445217 #175242 #241752
square
#521727 #445217 #175242 #241752
split-complementary
#521727 #175224 #174452
monochromatic
#18070B #220A10 #521727 #82243E #B23254

Accessibility & contrast

On white

13.90
#521727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521727
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521727#FFFFFF#000000##FFFFFF
##5217271.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242527
Deuteranopia (green-blind)
#343126
Tritanopia (blue-blind)
#5A0E1D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521727;
/* rgb */ color: rgb(82, 23, 39);
/* oklch */ color: oklch(30.6% 0.089 7.6);
Tailwind
colors: {
  custom: {
    50: '#865860',
    500: '#521727',
    950: '#000000',
  },
}
SCSS
$custom: #521727;
$custom-light: #865860;
$custom-dark: #000000;
JSON
{
  "hex": "#521727",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 39
  },
  "hsl": {
    "h": 343.729,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30585,
    "c": 0.08862,
    "h": 7.6
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#521727
secondary
#3C8974
accent
#DFB648
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #521727

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

Preview Lab → · Contrast checker → · Palette generator →

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