#A3298D#A3298D

#A3298D is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.190 H 336.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A3298D
RGBrgb(163, 41, 141)
HSLhsl(311, 60%, 40%)
HSVhsv(311, 75%, 64%)
CMYKcmyk(0%, 74.8%, 13.5%, 36.1%)
CIE-LABlab(40.08, 59.14, -27.85)
CIE-LCHlch(40.08, 65.37, 334.79°)
OKLaboklab(50.85% 0.1737 -0.0759)
OKLCHoklch(50.85% 0.19 336.4)
XYZxyz(20.7053, 11.2974, 26.2843)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3298D #29A33F
analogous
#7C29A3 #A3298D #A32950
triadic
#A3298D #8DA329 #298DA3
tetradic
#A3298D #A37C29 #29A33F #2950A3
square
#A3298D #A37C29 #29A33F #2950A3
split-complementary
#A3298D #50A329 #29A37C
monochromatic
#411038 #721D63 #A3298D #CE3BB3 #DA6CC6

Accessibility & contrast

On white

6.44
#A3298D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A3298D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3298D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3298D#FFFFFF#000000##FFFFFF
##A3298D1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#AC3158
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a3298d;
/* rgb */ color: rgb(163, 41, 141);
/* oklch */ color: oklch(50.9% 0.190 336.4);
Tailwind
colors: {
  custom: {
    50: '#c270ae',
    500: '#a3298d',
    950: '#000000',
  },
}
SCSS
$custom: #a3298d;
$custom-light: #c270ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a3298d",
  "rgb": {
    "r": 163,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 310.82,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.50853,
    "c": 0.18958,
    "h": 336.4
  },
  "luminance": 0.11295
}

Semantic roles & 50–950 ramp

primary
#A3298D
secondary
#67C177
accent
#E36145
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3298D

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

Preview Lab → · Contrast checker → · Palette generator →

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