#A8288E#A8288E

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

Color values

HEX#A8288E
RGBrgb(168, 40, 142)
HSLhsl(312, 62%, 41%)
HSVhsv(312, 76%, 66%)
CMYKcmyk(0%, 76.2%, 15.5%, 34.1%)
CIE-LABlab(40.89, 60.79, -27.12)
CIE-LCHlch(40.89, 66.56, 335.96°)
OKLaboklab(51.62% 0.1797 -0.0737)
OKLCHoklch(51.62% 0.194 337.7)
XYZxyz(21.7902, 11.7975, 26.7155)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8288E #28A842
analogous
#8228A8 #A8288E #A8284E
triadic
#A8288E #8EA828 #288EA8
tetradic
#A8288E #A88228 #28A842 #284EA8
square
#A8288E #A88228 #28A842 #284EA8
split-complementary
#A8288E #4EA828 #28A882
monochromatic
#45103A #771C64 #A8288E #D13DB3 #DC6EC6

Accessibility & contrast

On white

6.25
#A8288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A8288E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8288E
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8288E#FFFFFF#000000##FFFFFF
##A8288E1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5491
Deuteranopia (green-blind)
#59678B
Tritanopia (blue-blind)
#B12F58
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8288e;
/* rgb */ color: rgb(168, 40, 142);
/* oklch */ color: oklch(51.6% 0.194 337.7);
Tailwind
colors: {
  custom: {
    50: '#c670af',
    500: '#a8288e',
    950: '#000000',
  },
}
SCSS
$custom: #a8288e;
$custom-light: #c670af;
$custom-dark: #000000;
JSON
{
  "hex": "#a8288e",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 312.188,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.19425,
    "h": 337.7
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#A8288E
secondary
#69C37B
accent
#E56443
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8288E

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

Preview Lab → · Contrast checker → · Palette generator →

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