#A7288D#A7288D

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

Color values

HEX#A7288D
RGBrgb(167, 40, 141)
HSLhsl(312, 61%, 41%)
HSVhsv(312, 76%, 65%)
CMYKcmyk(0%, 76%, 15.6%, 34.5%)
CIE-LABlab(40.67, 60.41, -26.87)
CIE-LCHlch(40.67, 66.12, 336.02°)
OKLaboklab(51.41% 0.1787 -0.073)
OKLCHoklch(51.41% 0.193 337.8)
XYZxyz(21.5033, 11.6582, 26.3119)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7288D #28A742
analogous
#8128A7 #A7288D #A7284E
triadic
#A7288D #8DA728 #288DA7
tetradic
#A7288D #A78128 #28A742 #284EA7
square
#A7288D #A78128 #28A742 #284EA7
split-complementary
#A7288D #4EA728 #28A781
monochromatic
#44103A #761C63 #A7288D #D03CB2 #DC6DC5

Accessibility & contrast

On white

6.30
#A7288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A7288D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7288D
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7288D#FFFFFF#000000##FFFFFF
##A7288D1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5390
Deuteranopia (green-blind)
#59678A
Tritanopia (blue-blind)
#B02F58
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7288d;
/* rgb */ color: rgb(167, 40, 141);
/* oklch */ color: oklch(51.4% 0.193 337.8);
Tailwind
colors: {
  custom: {
    50: '#c570ae',
    500: '#a7288d',
    950: '#000000',
  },
}
SCSS
$custom: #a7288d;
$custom-light: #c570ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a7288d",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 312.283,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51411,
    "c": 0.19299,
    "h": 337.8
  },
  "luminance": 0.11656
}

Semantic roles & 50–950 ramp

primary
#A7288D
secondary
#68C37B
accent
#E46443
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7288D

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

Preview Lab → · Contrast checker → · Palette generator →

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