#A8288A#A8288A

#A8288A is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.192 H 339.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A8288A
RGBrgb(168, 40, 138)
HSLhsl(314, 62%, 41%)
HSVhsv(314, 76%, 66%)
CMYKcmyk(0%, 76.2%, 17.9%, 34.1%)
CIE-LABlab(40.70, 60.22, -24.97)
CIE-LCHlch(40.70, 65.19, 337.48°)
OKLaboklab(51.42% 0.1793 -0.0676)
OKLCHoklch(51.42% 0.192 339.3)
XYZxyz(21.4953, 11.6795, 25.1622)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8288A #28A846
analogous
#8628A8 #A8288A #A8284A
triadic
#A8288A #8AA828 #288AA8
tetradic
#A8288A #A88628 #28A846 #284AA8
square
#A8288A #A88628 #28A846 #284AA8
split-complementary
#A8288A #4AA828 #28A886
monochromatic
#451039 #771C61 #A8288A #D13DAE #DC6EC3

Accessibility & contrast

On white

6.30
#A8288A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8288A
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8288A#FFFFFF#000000##FFFFFF
##A8288A1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#5B6787
Tritanopia (blue-blind)
#B22D56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8288a;
/* rgb */ color: rgb(168, 40, 138);
/* oklch */ color: oklch(51.4% 0.192 339.3);
Tailwind
colors: {
  custom: {
    50: '#c670ac',
    500: '#a8288a',
    950: '#000000',
  },
}
SCSS
$custom: #a8288a;
$custom-light: #c670ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a8288a",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 314.063,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51423,
    "c": 0.19157,
    "h": 339.3
  },
  "luminance": 0.11677
}

Semantic roles & 50–950 ramp

primary
#A8288A
secondary
#69C37E
accent
#E56943
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8288A

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

Preview Lab → · Contrast checker → · Palette generator →

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