#A3298B#A3298B

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

Color values

HEX#A3298B
RGBrgb(163, 41, 139)
HSLhsl(312, 60%, 40%)
HSVhsv(312, 75%, 64%)
CMYKcmyk(0%, 74.8%, 14.7%, 36.1%)
CIE-LABlab(39.98, 58.85, -26.78)
CIE-LCHlch(39.98, 64.65, 335.53°)
OKLaboklab(50.75% 0.1735 -0.0728)
OKLCHoklch(50.75% 0.188 337.2)
XYZxyz(20.5578, 11.2384, 25.5076)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3298B #29A341
analogous
#7E29A3 #A3298B #A3294E
triadic
#A3298B #8BA329 #298BA3
tetradic
#A3298B #A37E29 #29A341 #294EA3
square
#A3298B #A37E29 #29A341 #294EA3
split-complementary
#A3298B #4EA329 #29A37E
monochromatic
#411038 #721D61 #A3298B #CE3BB1 #DA6CC5

Accessibility & contrast

On white

6.47
#A3298B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A3298B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3298B
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3298B#FFFFFF#000000##FFFFFF
##A3298B1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a3298b;
/* rgb */ color: rgb(163, 41, 139);
/* oklch */ color: oklch(50.7% 0.188 337.2);
Tailwind
colors: {
  custom: {
    50: '#c26fad',
    500: '#a3298b',
    950: '#000000',
  },
}
SCSS
$custom: #a3298b;
$custom-light: #c26fad;
$custom-dark: #000000;
JSON
{
  "hex": "#a3298b",
  "rgb": {
    "r": 163,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 311.803,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.5075,
    "c": 0.1882,
    "h": 337.2
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A3298B

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

Preview Lab → · Contrast checker → · Palette generator →

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