#A7288B#A7288B

#A7288B is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.192 H 338.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A7288B
RGBrgb(167, 40, 139)
HSLhsl(313, 61%, 41%)
HSVhsv(313, 76%, 65%)
CMYKcmyk(0%, 76%, 16.8%, 34.5%)
CIE-LABlab(40.57, 60.13, -25.80)
CIE-LCHlch(40.57, 65.43, 336.78°)
OKLaboklab(51.31% 0.1784 -0.0699)
OKLCHoklch(51.31% 0.192 338.6)
XYZxyz(21.3559, 11.5992, 25.5353)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7288B #28A744
analogous
#8328A7 #A7288B #A7284C
triadic
#A7288B #8BA728 #288BA7
tetradic
#A7288B #A78328 #28A744 #284CA7
square
#A7288B #A78328 #28A744 #284CA7
split-complementary
#A7288B #4CA728 #28A783
monochromatic
#441039 #761C62 #A7288B #D03CB0 #DC6DC4

Accessibility & contrast

On white

6.33
#A7288B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A7288B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7288B
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7288B#FFFFFF#000000##FFFFFF
##A7288B1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538E
Deuteranopia (green-blind)
#5A6788
Tritanopia (blue-blind)
#B12E57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7288b;
/* rgb */ color: rgb(167, 40, 139);
/* oklch */ color: oklch(51.3% 0.192 338.6);
Tailwind
colors: {
  custom: {
    50: '#c570ad',
    500: '#a7288b',
    950: '#000000',
  },
}
SCSS
$custom: #a7288b;
$custom-light: #c570ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a7288b",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 313.228,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.19164,
    "h": 338.6
  },
  "luminance": 0.11597
}

Semantic roles & 50–950 ramp

primary
#A7288B
secondary
#68C37C
accent
#E46743
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7288B

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

Preview Lab → · Contrast checker → · Palette generator →

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