#A8288F#A8288F

#A8288F is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.7% C 0.195 H 337.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A8288F
RGBrgb(168, 40, 143)
HSLhsl(312, 62%, 41%)
HSVhsv(312, 76%, 66%)
CMYKcmyk(0%, 76.2%, 14.9%, 34.1%)
CIE-LABlab(40.94, 60.93, -27.65)
CIE-LCHlch(40.94, 66.91, 335.59°)
OKLaboklab(51.67% 0.1798 -0.0752)
OKLCHoklch(51.67% 0.195 337.3)
XYZxyz(21.8656, 11.8277, 27.1127)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8288F #28A841
analogous
#8128A8 #A8288F #A8284F
triadic
#A8288F #8FA828 #288FA8
tetradic
#A8288F #A88128 #28A841 #284FA8
square
#A8288F #A88128 #28A841 #284FA8
split-complementary
#A8288F #4FA828 #28A881
monochromatic
#45103B #771C65 #A8288F #D13DB4 #DC6EC7

Accessibility & contrast

On white

6.24
#A8288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A8288F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8288F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8288F#FFFFFF#000000##FFFFFF
##A8288F1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5492
Deuteranopia (green-blind)
#59678C
Tritanopia (blue-blind)
#B13059
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8288f;
/* rgb */ color: rgb(168, 40, 143);
/* oklch */ color: oklch(51.7% 0.195 337.3);
Tailwind
colors: {
  custom: {
    50: '#c670b0',
    500: '#a8288f',
    950: '#000000',
  },
}
SCSS
$custom: #a8288f;
$custom-light: #c670b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8288f",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 311.719,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51673,
    "c": 0.19493,
    "h": 337.3
  },
  "luminance": 0.11826
}

Semantic roles & 50–950 ramp

primary
#A8288F
secondary
#69C37A
accent
#E56343
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8288F

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

Preview Lab → · Contrast checker → · Palette generator →

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