#52274A#52274A

#52274A is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.5% C 0.081 H 334.6°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#52274A
RGBrgb(82, 39, 74)
HSLhsl(311, 36%, 24%)
HSVhsv(311, 52%, 32%)
CMYKcmyk(0%, 52.4%, 9.8%, 67.8%)
CIE-LABlab(22.79, 25.50, -12.90)
CIE-LCHlch(22.79, 28.58, 333.16°)
OKLaboklab(34.48% 0.0735 -0.0349)
OKLCHoklch(34.48% 0.081 334.6)
XYZxyz(5.4412, 3.7396, 6.9125)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52274A #27522F
analogous
#442752 #52274A #522734
triadic
#52274A #4A5227 #274A52
tetradic
#52274A #524427 #27522F #273452
square
#52274A #524427 #27522F #273452
split-complementary
#52274A #345227 #275244
monochromatic
#150A13 #291325 #52274A #7B3B6F #A54E95

Accessibility & contrast

On white

12.02
#52274A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#52274A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52274A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52274A#FFFFFF#000000##FFFFFF
##52274A1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27324B
Deuteranopia (green-blind)
#333949
Tritanopia (blue-blind)
#562935
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #52274a;
/* rgb */ color: rgb(82, 39, 74);
/* oklch */ color: oklch(34.5% 0.081 334.6);
Tailwind
colors: {
  custom: {
    50: '#84637c',
    500: '#52274a',
    950: '#000000',
  },
}
SCSS
$custom: #52274a;
$custom-light: #84637c;
$custom-dark: #000000;
JSON
{
  "hex": "#52274a",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 311.163,
    "s": 35.537,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34478,
    "c": 0.08139,
    "h": 334.6
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#52274A
secondary
#50855A
accent
#CC715C
background
#F8F5F7
surface
#EFEAEE
border
#CAC6C9
text
#0B0509
muted
#7C797B

Preview Lab

Preview with #52274A

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

Preview Lab → · Contrast checker → · Palette generator →

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