#A8298F#A8298F

#A8298F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.8% C 0.194 H 337.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A8298F
RGBrgb(168, 41, 143)
HSLhsl(312, 61%, 41%)
HSVhsv(312, 76%, 66%)
CMYKcmyk(0%, 75.6%, 14.9%, 34.1%)
CIE-LABlab(41.05, 60.62, -27.48)
CIE-LCHlch(41.05, 66.56, 335.62°)
OKLaboklab(51.75% 0.1789 -0.0747)
OKLCHoklch(51.75% 0.194 337.3)
XYZxyz(21.8998, 11.8959, 27.1241)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8298F #29A842
analogous
#8129A8 #A8298F #A8294F
triadic
#A8298F #8FA829 #298FA8
tetradic
#A8298F #A88129 #29A842 #294FA8
square
#A8298F #A88129 #29A842 #294FA8
split-complementary
#A8298F #4FA829 #29A881
monochromatic
#46113B #771D65 #A8298F #D03EB3 #DC6FC7

Accessibility & contrast

On white

6.22
#A8298F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A8298F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8298F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8298F#FFFFFF#000000##FFFFFF
##A8298F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5492
Deuteranopia (green-blind)
#59688C
Tritanopia (blue-blind)
#B13159
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8298f;
/* rgb */ color: rgb(168, 41, 143);
/* oklch */ color: oklch(51.8% 0.194 337.3);
Tailwind
colors: {
  custom: {
    50: '#c670b0',
    500: '#a8298f',
    950: '#000000',
  },
}
SCSS
$custom: #a8298f;
$custom-light: #c670b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8298f",
  "rgb": {
    "r": 168,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 311.811,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51752,
    "c": 0.19388,
    "h": 337.3
  },
  "luminance": 0.11894
}

Semantic roles & 50–950 ramp

primary
#A8298F
secondary
#6AC37B
accent
#E46344
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8298F

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

Preview Lab → · Contrast checker → · Palette generator →

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