#A8288D#A8288D

#A8288D is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.6% C 0.194 H 338.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A8288D
RGBrgb(168, 40, 141)
HSLhsl(313, 62%, 41%)
HSVhsv(313, 76%, 66%)
CMYKcmyk(0%, 76.2%, 16.1%, 34.1%)
CIE-LABlab(40.84, 60.65, -26.58)
CIE-LCHlch(40.84, 66.22, 336.33°)
OKLaboklab(51.57% 0.1796 -0.0722)
OKLCHoklch(51.57% 0.194 338.1)
XYZxyz(21.7155, 11.7676, 26.3219)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8288D #28A843
analogous
#8328A8 #A8288D #A8284D
triadic
#A8288D #8DA828 #288DA8
tetradic
#A8288D #A88328 #28A843 #284DA8
square
#A8288D #A88328 #28A843 #284DA8
split-complementary
#A8288D #4DA828 #28A883
monochromatic
#45103A #771C64 #A8288D #D13DB1 #DC6EC5

Accessibility & contrast

On white

6.26
#A8288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A8288D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8288D
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8288D#FFFFFF#000000##FFFFFF
##A8288D1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#5A678A
Tritanopia (blue-blind)
#B12F58
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8288d;
/* rgb */ color: rgb(168, 40, 141);
/* oklch */ color: oklch(51.6% 0.194 338.1);
Tailwind
colors: {
  custom: {
    50: '#c670ae',
    500: '#a8288d',
    950: '#000000',
  },
}
SCSS
$custom: #a8288d;
$custom-light: #c670ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a8288d",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 312.656,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51572,
    "c": 0.19357,
    "h": 338.1
  },
  "luminance": 0.11766
}

Semantic roles & 50–950 ramp

primary
#A8288D
secondary
#69C37C
accent
#E56543
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8288D

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

Preview Lab → · Contrast checker → · Palette generator →

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