#AA2874#AA2874

#AA2874 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.180 H 349.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AA2874
RGBrgb(170, 40, 116)
HSLhsl(325, 62%, 41%)
HSVhsv(325, 76%, 67%)
CMYKcmyk(0%, 76.5%, 31.8%, 33.3%)
CIE-LABlab(40.13, 57.88, -12.23)
CIE-LCHlch(40.13, 59.16, 348.07°)
OKLaboklab(50.77% 0.177 -0.032)
OKLCHoklch(50.77% 0.18 349.8)
XYZxyz(20.4899, 11.3270, 17.6269)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2874 #28AA5E
analogous
#9F28AA #AA2874 #AA2833
triadic
#AA2874 #74AA28 #2874AA
tetradic
#AA2874 #AA9F28 #28AA5E #2833AA
square
#AA2874 #AA9F28 #28AA5E #2833AA
split-complementary
#AA2874 #33AA28 #28AA9F
monochromatic
#471130 #781C52 #AA2874 #D23E94 #DD6FB0

Accessibility & contrast

On white

6.43
#AA2874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AA2874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2874
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2874#FFFFFF#000000##FFFFFF
##AA28741.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5076
Deuteranopia (green-blind)
#646771
Tritanopia (blue-blind)
#B71F4B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa2874;
/* rgb */ color: rgb(170, 40, 116);
/* oklch */ color: oklch(50.8% 0.180 349.8);
Tailwind
colors: {
  custom: {
    50: '#c86f9c',
    500: '#aa2874',
    950: '#000000',
  },
}
SCSS
$custom: #aa2874;
$custom-light: #c86f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2874",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 324.923,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50765,
    "c": 0.17983,
    "h": 349.8
  },
  "luminance": 0.11325
}

Semantic roles & 50–950 ramp

primary
#AA2874
secondary
#6AC48F
accent
#E58643
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AA2874

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

Preview Lab → · Contrast checker → · Palette generator →

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