#521527#521527

#521527 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.3% C 0.091 H 6.6°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#521527
RGBrgb(82, 21, 39)
HSLhsl(342, 59%, 20%)
HSVhsv(342, 74%, 32%)
CMYKcmyk(0%, 74.4%, 52.4%, 67.8%)
CIE-LABlab(17.82, 29.81, 3.99)
CIE-LCHlch(17.82, 30.07, 7.63°)
OKLaboklab(30.33% 0.0909 0.0105)
OKLCHoklch(30.33% 0.091 6.6)
XYZxyz(4.1144, 2.4772, 2.1805)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521527 #155240
analogous
#521545 #521527 #522115
triadic
#521527 #275215 #152752
tetradic
#521527 #455215 #155240 #211552
square
#521527 #455215 #155240 #211552
split-complementary
#521527 #155221 #154552
monochromatic
#18060C #210910 #521527 #83213E #B32E55

Accessibility & contrast

On white

14.04
#521527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#521527 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521527
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521527#FFFFFF#000000##FFFFFF
##5215271.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232427
Deuteranopia (green-blind)
#333026
Tritanopia (blue-blind)
#5A0B1C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521527;
/* rgb */ color: rgb(82, 21, 39);
/* oklch */ color: oklch(30.3% 0.091 6.6);
Tailwind
colors: {
  custom: {
    50: '#865760',
    500: '#521527',
    950: '#000000',
  },
}
SCSS
$custom: #521527;
$custom-light: #865760;
$custom-dark: #000000;
JSON
{
  "hex": "#521527",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 39
  },
  "hsl": {
    "h": 342.295,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30329,
    "c": 0.09145,
    "h": 6.6
  },
  "luminance": 0.02477
}

Semantic roles & 50–950 ramp

primary
#521527
secondary
#398A72
accent
#E2B445
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #521527

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

Preview Lab → · Contrast checker → · Palette generator →

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