#A52874#A52874

#A52874 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.176 H 348.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A52874
RGBrgb(165, 40, 116)
HSLhsl(324, 61%, 40%)
HSVhsv(324, 76%, 65%)
CMYKcmyk(0%, 75.8%, 29.7%, 35.3%)
CIE-LABlab(39.21, 56.57, -13.71)
CIE-LCHlch(39.21, 58.21, 346.37°)
OKLaboklab(49.93% 0.1725 -0.0361)
OKLCHoklch(49.93% 0.176 348.2)
XYZxyz(19.4292, 10.7801, 17.5772)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52874 #28A559
analogous
#9828A5 #A52874 #A52835
triadic
#A52874 #74A528 #2874A5
tetradic
#A52874 #A59828 #28A559 #2835A5
square
#A52874 #A59828 #28A559 #2835A5
split-complementary
#A52874 #35A528 #28A598
monochromatic
#42102F #741C51 #A52874 #CF3B95 #DB6CB0

Accessibility & contrast

On white

6.65
#A52874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A52874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52874
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52874#FFFFFF#000000##FFFFFF
##A528741.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E76
Deuteranopia (green-blind)
#606471
Tritanopia (blue-blind)
#B1224B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a52874;
/* rgb */ color: rgb(165, 40, 116);
/* oklch */ color: oklch(49.9% 0.176 348.2);
Tailwind
colors: {
  custom: {
    50: '#c46f9c',
    500: '#a52874',
    950: '#000000',
  },
}
SCSS
$custom: #a52874;
$custom-light: #c46f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a52874",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 323.52,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49927,
    "c": 0.17621,
    "h": 348.2
  },
  "luminance": 0.10778
}

Semantic roles & 50–950 ramp

primary
#A52874
secondary
#67C28B
accent
#E48344
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52874

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

Preview Lab → · Contrast checker → · Palette generator →

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