#A7288A#A7288A

#A7288A is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.191 H 339.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A7288A
RGBrgb(167, 40, 138)
HSLhsl(314, 61%, 41%)
HSVhsv(314, 76%, 65%)
CMYKcmyk(0%, 76%, 17.4%, 34.5%)
CIE-LABlab(40.52, 59.98, -25.26)
CIE-LCHlch(40.52, 65.09, 337.16°)
OKLaboklab(51.26% 0.1783 -0.0684)
OKLCHoklch(51.26% 0.191 339)
XYZxyz(21.2831, 11.5701, 25.1522)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7288A #28A745
analogous
#8428A7 #A7288A #A7284A
triadic
#A7288A #8AA728 #288AA7
tetradic
#A7288A #A78428 #28A745 #284AA7
square
#A7288A #A78428 #28A745 #284AA7
split-complementary
#A7288A #4AA728 #28A784
monochromatic
#441038 #761C61 #A7288A #D03CAE #DC6DC3

Accessibility & contrast

On white

6.34
#A7288A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A7288A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7288A
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7288A#FFFFFF#000000##FFFFFF
##A7288A1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#5A6787
Tritanopia (blue-blind)
#B12E56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a7288a;
/* rgb */ color: rgb(167, 40, 138);
/* oklch */ color: oklch(51.3% 0.191 339.0);
Tailwind
colors: {
  custom: {
    50: '#c570ac',
    500: '#a7288a',
    950: '#000000',
  },
}
SCSS
$custom: #a7288a;
$custom-light: #c570ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a7288a",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 313.701,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51261,
    "c": 0.19097,
    "h": 339
  },
  "luminance": 0.11568
}

Semantic roles & 50–950 ramp

primary
#A7288A
secondary
#68C37D
accent
#E46843
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7288A

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

Preview Lab → · Contrast checker → · Palette generator →

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