#A8288C#A8288C

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

Color values

HEX#A8288C
RGBrgb(168, 40, 140)
HSLhsl(313, 62%, 41%)
HSVhsv(313, 76%, 66%)
CMYKcmyk(0%, 76.2%, 16.7%, 34.1%)
CIE-LABlab(40.80, 60.50, -26.05)
CIE-LCHlch(40.80, 65.87, 336.71°)
OKLaboklab(51.52% 0.1795 -0.0706)
OKLCHoklch(51.52% 0.193 338.5)
XYZxyz(21.6414, 11.7380, 25.9318)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8288C #28A844
analogous
#8428A8 #A8288C #A8284C
triadic
#A8288C #8CA828 #288CA8
tetradic
#A8288C #A88428 #28A844 #284CA8
square
#A8288C #A88428 #28A844 #284CA8
split-complementary
#A8288C #4CA828 #28A884
monochromatic
#45103A #771C63 #A8288C #D13DB0 #DC6EC4

Accessibility & contrast

On white

6.27
#A8288C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8288C
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8288C#FFFFFF#000000##FFFFFF
##A8288C1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538F
Deuteranopia (green-blind)
#5A6789
Tritanopia (blue-blind)
#B22E57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8288c;
/* rgb */ color: rgb(168, 40, 140);
/* oklch */ color: oklch(51.5% 0.193 338.5);
Tailwind
colors: {
  custom: {
    50: '#c670ae',
    500: '#a8288c',
    950: '#000000',
  },
}
SCSS
$custom: #a8288c;
$custom-light: #c670ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a8288c",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 313.125,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.19291,
    "h": 338.5
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8288C

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

Preview Lab → · Contrast checker → · Palette generator →

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