#A7298B#A7298B

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

Color values

HEX#A7298B
RGBrgb(167, 41, 139)
HSLhsl(313, 61%, 41%)
HSVhsv(313, 75%, 65%)
CMYKcmyk(0%, 75.4%, 16.8%, 34.5%)
CIE-LABlab(40.68, 59.81, -25.63)
CIE-LCHlch(40.68, 65.07, 336.81°)
OKLaboklab(51.39% 0.1775 -0.0695)
OKLCHoklch(51.39% 0.191 338.6)
XYZxyz(21.3900, 11.6675, 25.5466)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7298B #29A745
analogous
#8429A7 #A7298B #A7294C
triadic
#A7298B #8BA729 #298BA7
tetradic
#A7298B #A78429 #29A745 #294CA7
square
#A7298B #A78429 #29A745 #294CA7
split-complementary
#A7298B #4CA729 #29A784
monochromatic
#451139 #761D62 #A7298B #D03EAF #DC6FC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7298B#FFFFFF#000000##FFFFFF
##A7298B1.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)
#30538E
Deuteranopia (green-blind)
#5A6788
Tritanopia (blue-blind)
#B12F57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7298b;
/* rgb */ color: rgb(167, 41, 139);
/* oklch */ color: oklch(51.4% 0.191 338.6);
Tailwind
colors: {
  custom: {
    50: '#c570ad',
    500: '#a7298b',
    950: '#000000',
  },
}
SCSS
$custom: #a7298b;
$custom-light: #c570ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a7298b",
  "rgb": {
    "r": 167,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 313.333,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51391,
    "c": 0.19058,
    "h": 338.6
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

primary
#A7298B
secondary
#69C27D
accent
#E46844
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7298B

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

Preview Lab → · Contrast checker → · Palette generator →

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