#A8288B#A8288B

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

Color values

HEX#A8288B
RGBrgb(168, 40, 139)
HSLhsl(314, 62%, 41%)
HSVhsv(314, 76%, 66%)
CMYKcmyk(0%, 76.2%, 17.3%, 34.1%)
CIE-LABlab(40.75, 60.36, -25.51)
CIE-LCHlch(40.75, 65.53, 337.09°)
OKLaboklab(51.47% 0.1794 -0.0691)
OKLCHoklch(51.47% 0.192 338.9)
XYZxyz(21.5680, 11.7086, 25.5452)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8288B #28A845
analogous
#8528A8 #A8288B #A8284B
triadic
#A8288B #8BA828 #288BA8
tetradic
#A8288B #A88528 #28A845 #284BA8
square
#A8288B #A88528 #28A845 #284BA8
split-complementary
#A8288B #4BA828 #28A885
monochromatic
#451039 #771C62 #A8288B #D13DAF #DC6EC3

Accessibility & contrast

On white

6.29
#A8288B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8288B
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8288B#FFFFFF#000000##FFFFFF
##A8288B1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538E
Deuteranopia (green-blind)
#5A6788
Tritanopia (blue-blind)
#B22E57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8288b;
/* rgb */ color: rgb(168, 40, 139);
/* oklch */ color: oklch(51.5% 0.192 338.9);
Tailwind
colors: {
  custom: {
    50: '#c670ad',
    500: '#a8288b',
    950: '#000000',
  },
}
SCSS
$custom: #a8288b;
$custom-light: #c670ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a8288b",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 313.594,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.19224,
    "h": 338.9
  },
  "luminance": 0.11706
}

Semantic roles & 50–950 ramp

primary
#A8288B
secondary
#69C37D
accent
#E56843
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8288B

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

Preview Lab → · Contrast checker → · Palette generator →

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