#A0288A#A0288A

#A0288A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.187 H 336.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A0288A
RGBrgb(160, 40, 138)
HSLhsl(311, 60%, 39%)
HSVhsv(311, 75%, 63%)
CMYKcmyk(0%, 75%, 13.8%, 37.3%)
CIE-LABlab(39.29, 58.30, -27.28)
CIE-LCHlch(39.29, 64.37, 334.93°)
OKLaboklab(50.14% 0.1714 -0.0743)
OKLCHoklch(50.14% 0.187 336.6)
XYZxyz(19.8438, 10.8280, 25.0847)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0288A #28A03E
analogous
#7A28A0 #A0288A #A0284E
triadic
#A0288A #8AA028 #288AA0
tetradic
#A0288A #A07A28 #28A03E #284EA0
square
#A0288A #A07A28 #28A03E #284EA0
split-complementary
#A0288A #4EA028 #28A07A
monochromatic
#3E1036 #6F1C60 #A0288A #CD38B2 #D969C5

Accessibility & contrast

On white

6.63
#A0288A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A0288A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0288A
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0288A#FFFFFF#000000##FFFFFF
##A0288A1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518D
Deuteranopia (green-blind)
#546387
Tritanopia (blue-blind)
#A93056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a0288a;
/* rgb */ color: rgb(160, 40, 138);
/* oklch */ color: oklch(50.1% 0.187 336.6);
Tailwind
colors: {
  custom: {
    50: '#c06fac',
    500: '#a0288a',
    950: '#000000',
  },
}
SCSS
$custom: #a0288a;
$custom-light: #c06fac;
$custom-dark: #000000;
JSON
{
  "hex": "#a0288a",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 311,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50137,
    "c": 0.18682,
    "h": 336.6
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

primary
#A0288A
secondary
#64C075
accent
#E36245
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A0288A

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

Preview Lab → · Contrast checker → · Palette generator →

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