#A3298A#A3298A

#A3298A is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.188 H 337.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A3298A
RGBrgb(163, 41, 138)
HSLhsl(312, 60%, 40%)
HSVhsv(312, 75%, 64%)
CMYKcmyk(0%, 74.8%, 15.3%, 36.1%)
CIE-LABlab(39.93, 58.70, -26.24)
CIE-LCHlch(39.93, 64.30, 335.92°)
OKLaboklab(50.7% 0.1734 -0.0713)
OKLCHoklch(50.7% 0.188 337.7)
XYZxyz(20.4851, 11.2093, 25.1246)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3298A #29A342
analogous
#7F29A3 #A3298A #A3294D
triadic
#A3298A #8AA329 #298AA3
tetradic
#A3298A #A37F29 #29A342 #294DA3
square
#A3298A #A37F29 #29A342 #294DA3
split-complementary
#A3298A #4DA329 #29A37F
monochromatic
#411037 #721D61 #A3298A #CE3BB0 #DA6CC4

Accessibility & contrast

On white

6.48
#A3298A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A3298A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3298A
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3298A#FFFFFF#000000##FFFFFF
##A3298A1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528D
Deuteranopia (green-blind)
#576587
Tritanopia (blue-blind)
#AC3057
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a3298a;
/* rgb */ color: rgb(163, 41, 138);
/* oklch */ color: oklch(50.7% 0.188 337.7);
Tailwind
colors: {
  custom: {
    50: '#c26fac',
    500: '#a3298a',
    950: '#000000',
  },
}
SCSS
$custom: #a3298a;
$custom-light: #c26fac;
$custom-dark: #000000;
JSON
{
  "hex": "#a3298a",
  "rgb": {
    "r": 163,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 312.295,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.507,
    "c": 0.1875,
    "h": 337.7
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#A3298A
secondary
#67C179
accent
#E36545
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3298A

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

Preview Lab → · Contrast checker → · Palette generator →

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