#52264A#52264A

#52264A is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.3% C 0.083 H 334.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#52264A
RGBrgb(82, 38, 74)
HSLhsl(311, 37%, 24%)
HSVhsv(311, 54%, 32%)
CMYKcmyk(0%, 53.7%, 9.8%, 67.8%)
CIE-LABlab(22.57, 26.09, -13.25)
CIE-LCHlch(22.57, 29.26, 333.07°)
OKLaboklab(34.31% 0.0752 -0.0359)
OKLCHoklch(34.31% 0.083 334.5)
XYZxyz(5.4088, 3.6748, 6.9017)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52264A #26522E
analogous
#442652 #52264A #522634
triadic
#52264A #4A5226 #264A52
tetradic
#52264A #524426 #26522E #263452
square
#52264A #524426 #26522E #263452
split-complementary
#52264A #345226 #265244
monochromatic
#150A13 #281324 #52264A #7C3970 #A64D95

Accessibility & contrast

On white

12.11
#52264A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#52264A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52264A
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52264A#FFFFFF#000000##FFFFFF
##52264A1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26324B
Deuteranopia (green-blind)
#323849
Tritanopia (blue-blind)
#562834
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #52264a;
/* rgb */ color: rgb(82, 38, 74);
/* oklch */ color: oklch(34.3% 0.083 334.5);
Tailwind
colors: {
  custom: {
    50: '#84627c',
    500: '#52264a',
    950: '#000000',
  },
}
SCSS
$custom: #52264a;
$custom-light: #84627c;
$custom-dark: #000000;
JSON
{
  "hex": "#52264a",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 74
  },
  "hsl": {
    "h": 310.909,
    "s": 36.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34311,
    "c": 0.08335,
    "h": 334.5
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#52264A
secondary
#4F8559
accent
#CD705B
background
#F8F5F7
surface
#EFEAEE
border
#CAC6C9
text
#0B0509
muted
#7C797B

Preview Lab

Preview with #52264A

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

Preview Lab → · Contrast checker → · Palette generator →

#52264A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva