#521235#521235

#521235 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.101 H 351.3°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#521235
RGBrgb(82, 18, 53)
HSLhsl(327, 64%, 20%)
HSVhsv(327, 78%, 32%)
CMYKcmyk(0%, 78%, 35.4%, 67.8%)
CIE-LABlab(17.85, 32.81, -5.95)
CIE-LCHlch(17.85, 33.34, 349.73°)
OKLaboklab(30.52% 0.1003 -0.0154)
OKLCHoklch(30.52% 0.101 351.3)
XYZxyz(4.3388, 2.4840, 3.6184)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521235 #12522F
analogous
#4F1252 #521235 #521215
triadic
#521235 #355212 #123552
tetradic
#521235 #524F12 #12522F #121552
square
#521235 #524F12 #12522F #121552
split-complementary
#521235 #155212 #12524F
monochromatic
#190610 #200715 #521235 #841D55 #B62876

Accessibility & contrast

On white

14.03
#521235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521235
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521235#FFFFFF#000000##FFFFFF
##5212351.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2436
Deuteranopia (green-blind)
#2F3034
Tritanopia (blue-blind)
#590E21
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521235;
/* rgb */ color: rgb(82, 18, 53);
/* oklch */ color: oklch(30.5% 0.101 351.3);
Tailwind
colors: {
  custom: {
    50: '#86566c',
    500: '#521235',
    950: '#000000',
  },
}
SCSS
$custom: #521235;
$custom-light: #86566c;
$custom-dark: #000000;
JSON
{
  "hex": "#521235",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 327.188,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30517,
    "c": 0.10146,
    "h": 351.3
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#521235
secondary
#358B5C
accent
#E78C41
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #521235

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

Preview Lab → · Contrast checker → · Palette generator →

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