#A7288F#A7288F

#A7288F is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.5% C 0.194 H 337.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A7288F
RGBrgb(167, 40, 143)
HSLhsl(311, 61%, 41%)
HSVhsv(311, 76%, 65%)
CMYKcmyk(0%, 76%, 14.4%, 34.5%)
CIE-LABlab(40.76, 60.70, -27.94)
CIE-LCHlch(40.76, 66.82, 335.28°)
OKLaboklab(51.51% 0.1789 -0.0761)
OKLCHoklch(51.51% 0.194 337)
XYZxyz(21.6535, 11.7183, 27.1027)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7288F #28A740
analogous
#8028A7 #A7288F #A7284F
triadic
#A7288F #8FA728 #288FA7
tetradic
#A7288F #A78028 #28A740 #284FA7
square
#A7288F #A78028 #28A740 #284FA7
split-complementary
#A7288F #4FA728 #28A780
monochromatic
#44103A #761C65 #A7288F #D03CB4 #DC6DC7

Accessibility & contrast

On white

6.28
#A7288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A7288F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7288F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7288F#FFFFFF#000000##FFFFFF
##A7288F1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5492
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#B03059
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7288f;
/* rgb */ color: rgb(167, 40, 143);
/* oklch */ color: oklch(51.5% 0.194 337.0);
Tailwind
colors: {
  custom: {
    50: '#c570b0',
    500: '#a7288f',
    950: '#000000',
  },
}
SCSS
$custom: #a7288f;
$custom-light: #c570b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a7288f",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 311.339,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51513,
    "c": 0.19436,
    "h": 337
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

primary
#A7288F
secondary
#68C379
accent
#E46243
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7288F

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

Preview Lab → · Contrast checker → · Palette generator →

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