#A52147#A52147

#A52147 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.167 H 10.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#A52147
RGBrgb(165, 33, 71)
HSLhsl(343, 67%, 39%)
HSVhsv(343, 80%, 65%)
CMYKcmyk(0%, 80%, 57%, 35.3%)
CIE-LABlab(37.01, 54.31, 11.68)
CIE-LCHlch(37.01, 55.55, 12.13°)
OKLaboklab(47.85% 0.1648 0.0294)
OKLCHoklch(47.85% 0.167 10.1)
XYZxyz(17.1999, 9.5445, 6.8966)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52147 #21A57F
analogous
#A52189 #A52147 #A53D21
triadic
#A52147 #47A521 #2147A5
tetradic
#A52147 #89A521 #21A57F #3D21A5
square
#A52147 #89A521 #21A57F #3D21A5
split-complementary
#A52147 #21A53D #2189A5
monochromatic
#3F0D1B #721731 #A52147 #D52E5E #DF6185

Accessibility & contrast

On white

7.22
#A52147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A52147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52147
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52147#FFFFFF#000000##FFFFFF
##A521471.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464648
Deuteranopia (green-blind)
#676144
Tritanopia (blue-blind)
#B50032
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a52147;
/* rgb */ color: rgb(165, 33, 71);
/* oklch */ color: oklch(47.9% 0.167 10.1);
Tailwind
colors: {
  custom: {
    50: '#c66a79',
    500: '#a52147',
    950: '#000000',
  },
}
SCSS
$custom: #a52147;
$custom-light: #c66a79;
$custom-dark: #000000;
JSON
{
  "hex": "#a52147",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 342.727,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4785,
    "c": 0.16735,
    "h": 10.1
  },
  "luminance": 0.09542
}

Semantic roles & 50–950 ramp

primary
#A52147
secondary
#5EC4A7
accent
#EAB83E
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140709
muted
#837A7B

Preview Lab

Preview with #A52147

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

Preview Lab → · Contrast checker → · Palette generator →

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