#521236#521236

#521236 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.102 H 350.3°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#521236
RGBrgb(82, 18, 54)
HSLhsl(326, 64%, 20%)
HSVhsv(326, 78%, 32%)
CMYKcmyk(0%, 78%, 34.1%, 67.8%)
CIE-LABlab(17.89, 32.94, -6.59)
CIE-LCHlch(17.89, 33.60, 348.69°)
OKLaboklab(30.56% 0.1006 -0.0172)
OKLCHoklch(30.56% 0.102 350.3)
XYZxyz(4.3621, 2.4933, 3.7408)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521236 #12522E
analogous
#4E1252 #521236 #521216
triadic
#521236 #365212 #123652
tetradic
#521236 #524E12 #12522E #121652
square
#521236 #524E12 #12522E #121652
split-complementary
#521236 #165212 #12524E
monochromatic
#190611 #200715 #521236 #841D57 #B62878

Accessibility & contrast

On white

14.01
#521236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521236
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521236#FFFFFF#000000##FFFFFF
##5212361.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2537
Deuteranopia (green-blind)
#2E3035
Tritanopia (blue-blind)
#590E22
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521236;
/* rgb */ color: rgb(82, 18, 54);
/* oklch */ color: oklch(30.6% 0.102 350.3);
Tailwind
colors: {
  custom: {
    50: '#86566d',
    500: '#521236',
    950: '#000000',
  },
}
SCSS
$custom: #521236;
$custom-light: #86566d;
$custom-dark: #000000;
JSON
{
  "hex": "#521236",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 326.25,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30562,
    "c": 0.10204,
    "h": 350.3
  },
  "luminance": 0.02493
}

Semantic roles & 50–950 ramp

primary
#521236
secondary
#358B5B
accent
#E78A41
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #521236

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

Preview Lab → · Contrast checker → · Palette generator →

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