#521835#521835

#521835 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.093 H 352.9°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#521835
RGBrgb(82, 24, 53)
HSLhsl(330, 55%, 21%)
HSVhsv(330, 71%, 32%)
CMYKcmyk(0%, 70.7%, 35.4%, 67.8%)
CIE-LABlab(18.82, 30.11, -4.48)
CIE-LCHlch(18.82, 30.44, 351.53°)
OKLaboklab(31.23% 0.0918 -0.0115)
OKLCHoklch(31.23% 0.093 352.9)
XYZxyz(4.4491, 2.7046, 3.6552)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521835 #185235
analogous
#521852 #521835 #521818
triadic
#521835 #355218 #183552
tetradic
#521835 #525218 #185235 #181852
square
#521835 #525218 #185235 #181852
split-complementary
#521835 #185218 #185252
monochromatic
#18070F #230A16 #521835 #812654 #B13472

Accessibility & contrast

On white

13.63
#521835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#521835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521835
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521835#FFFFFF#000000##FFFFFF
##5218351.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212736
Deuteranopia (green-blind)
#313234
Tritanopia (blue-blind)
#591424
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521835;
/* rgb */ color: rgb(82, 24, 53);
/* oklch */ color: oklch(31.2% 0.093 352.9);
Tailwind
colors: {
  custom: {
    50: '#85596c',
    500: '#521835',
    950: '#000000',
  },
}
SCSS
$custom: #521835;
$custom-light: #85596c;
$custom-dark: #000000;
JSON
{
  "hex": "#521835",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 53
  },
  "hsl": {
    "h": 330,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31233,
    "c": 0.09256,
    "h": 352.9
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#521835
secondary
#3D8963
accent
#DE944A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #521835

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

Preview Lab → · Contrast checker → · Palette generator →

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