#A52156#A52156

#A52156 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.171 H 2.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A52156
RGBrgb(165, 33, 86)
HSLhsl(336, 67%, 39%)
HSVhsv(336, 80%, 65%)
CMYKcmyk(0%, 80%, 47.9%, 35.3%)
CIE-LABlab(37.41, 55.54, 2.60)
CIE-LCHlch(37.41, 55.60, 2.68°)
OKLaboklab(48.27% 0.1704 0.0073)
OKLCHoklch(48.27% 0.171 2.4)
XYZxyz(17.7421, 9.7614, 9.7522)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52156 #21A570
analogous
#A52198 #A52156 #A52E21
triadic
#A52156 #56A521 #2156A5
tetradic
#A52156 #98A521 #21A570 #2E21A5
square
#A52156 #98A521 #21A570 #2E21A5
split-complementary
#A52156 #21A52E #2198A5
monochromatic
#3F0D21 #72173B #A52156 #D52E71 #DF6194

Accessibility & contrast

On white

7.11
#A52156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A52156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52156
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52156#FFFFFF#000000##FFFFFF
##A521561.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424857
Deuteranopia (green-blind)
#656153
Tritanopia (blue-blind)
#B40039
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a52156;
/* rgb */ color: rgb(165, 33, 86);
/* oklch */ color: oklch(48.3% 0.171 2.4);
Tailwind
colors: {
  custom: {
    50: '#c56b85',
    500: '#a52156',
    950: '#000000',
  },
}
SCSS
$custom: #a52156;
$custom-light: #c56b85;
$custom-dark: #000000;
JSON
{
  "hex": "#a52156",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 335.909,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48273,
    "c": 0.17056,
    "h": 2.4
  },
  "luminance": 0.09759
}

Semantic roles & 50–950 ramp

primary
#A52156
secondary
#5EC49B
accent
#EAA53E
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A52156

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

Preview Lab → · Contrast checker → · Palette generator →

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