#A8298A#A8298A

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

Color values

HEX#A8298A
RGBrgb(168, 41, 138)
HSLhsl(314, 61%, 41%)
HSVhsv(314, 76%, 66%)
CMYKcmyk(0%, 75.6%, 17.9%, 34.1%)
CIE-LABlab(40.81, 59.91, -24.80)
CIE-LCHlch(40.81, 64.84, 337.51°)
OKLaboklab(51.5% 0.1783 -0.0671)
OKLCHoklch(51.5% 0.191 339.4)
XYZxyz(21.5294, 11.7478, 25.1735)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8298A #29A847
analogous
#8629A8 #A8298A #A8294A
triadic
#A8298A #8AA829 #298AA8
tetradic
#A8298A #A88629 #29A847 #294AA8
square
#A8298A #A88629 #29A847 #294AA8
split-complementary
#A8298A #4AA829 #29A886
monochromatic
#461139 #771D62 #A8298A #D03EAE #DC6FC2

Accessibility & contrast

On white

6.27
#A8298A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A8298A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8298A
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8298A#FFFFFF#000000##FFFFFF
##A8298A1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538D
Deuteranopia (green-blind)
#5B6787
Tritanopia (blue-blind)
#B22E57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8298a;
/* rgb */ color: rgb(168, 41, 138);
/* oklch */ color: oklch(51.5% 0.191 339.4);
Tailwind
colors: {
  custom: {
    50: '#c670ac',
    500: '#a8298a',
    950: '#000000',
  },
}
SCSS
$custom: #a8298a;
$custom-light: #c670ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a8298a",
  "rgb": {
    "r": 168,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 314.173,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.19051,
    "h": 339.4
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#A8298A
secondary
#6AC37F
accent
#E46A44
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8298A

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

Preview Lab → · Contrast checker → · Palette generator →

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