#A02874#A02874

#A02874 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.173 H 346.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A02874
RGBrgb(160, 40, 116)
HSLhsl(322, 60%, 39%)
HSVhsv(322, 75%, 63%)
CMYKcmyk(0%, 75%, 27.5%, 37.3%)
CIE-LABlab(38.29, 55.26, -15.19)
CIE-LCHlch(38.29, 57.31, 344.63°)
OKLaboklab(49.09% 0.1679 -0.0402)
OKLCHoklch(49.09% 0.173 346.5)
XYZxyz(18.4092, 10.2541, 17.5294)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02874 #28A054
analogous
#9028A0 #A02874 #A02838
triadic
#A02874 #74A028 #2874A0
tetradic
#A02874 #A09028 #28A054 #2838A0
square
#A02874 #A09028 #28A054 #2838A0
split-complementary
#A02874 #38A028 #28A090
monochromatic
#3E102D #6F1C51 #A02874 #CD3897 #D969B0

Accessibility & contrast

On white

6.88
#A02874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A02874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02874
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02874#FFFFFF#000000##FFFFFF
##A028741.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D76
Deuteranopia (green-blind)
#5C6271
Tritanopia (blue-blind)
#AB244A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a02874;
/* rgb */ color: rgb(160, 40, 116);
/* oklch */ color: oklch(49.1% 0.173 346.5);
Tailwind
colors: {
  custom: {
    50: '#c06e9c',
    500: '#a02874',
    950: '#000000',
  },
}
SCSS
$custom: #a02874;
$custom-light: #c06e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a02874",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 322,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49092,
    "c": 0.17263,
    "h": 346.5
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#A02874
secondary
#64C086
accent
#E37F45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A02874

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

Preview Lab → · Contrast checker → · Palette generator →

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