#A7298A#A7298A

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

Color values

HEX#A7298A
RGBrgb(167, 41, 138)
HSLhsl(314, 61%, 41%)
HSVhsv(314, 75%, 65%)
CMYKcmyk(0%, 75.4%, 17.4%, 34.5%)
CIE-LABlab(40.64, 59.67, -25.09)
CIE-LCHlch(40.64, 64.73, 337.20°)
OKLaboklab(51.34% 0.1773 -0.0679)
OKLCHoklch(51.34% 0.19 339)
XYZxyz(21.3173, 11.6384, 25.1636)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7298A #29A746
analogous
#8529A7 #A7298A #A7294B
triadic
#A7298A #8AA729 #298AA7
tetradic
#A7298A #A78529 #29A746 #294BA7
square
#A7298A #A78529 #29A746 #294BA7
split-complementary
#A7298A #4BA729 #29A785
monochromatic
#451139 #761D61 #A7298A #D03EAE #DC6FC3

Accessibility & contrast

On white

6.31
#A7298A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7298A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7298A#FFFFFF#000000##FFFFFF
##A7298A1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#5A6787
Tritanopia (blue-blind)
#B12E57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7298a;
/* rgb */ color: rgb(167, 41, 138);
/* oklch */ color: oklch(51.3% 0.190 339.0);
Tailwind
colors: {
  custom: {
    50: '#c570ac',
    500: '#a7298a',
    950: '#000000',
  },
}
SCSS
$custom: #a7298a;
$custom-light: #c570ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a7298a",
  "rgb": {
    "r": 167,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 313.81,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51341,
    "c": 0.18991,
    "h": 339
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#A7298A
secondary
#69C27E
accent
#E46944
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7298A

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

Preview Lab → · Contrast checker → · Palette generator →

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