#A3298E#A3298E

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

Color values

HEX#A3298E
RGBrgb(163, 41, 142)
HSLhsl(310, 60%, 40%)
HSVhsv(310, 75%, 64%)
CMYKcmyk(0%, 74.8%, 12.9%, 36.1%)
CIE-LABlab(40.13, 59.29, -28.38)
CIE-LCHlch(40.13, 65.73, 334.42°)
OKLaboklab(50.9% 0.1738 -0.0774)
OKLCHoklch(50.9% 0.19 336)
XYZxyz(20.7800, 11.3273, 26.6779)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3298E #29A33E
analogous
#7B29A3 #A3298E #A32951
triadic
#A3298E #8EA329 #298EA3
tetradic
#A3298E #A37B29 #29A33E #2951A3
square
#A3298E #A37B29 #29A33E #2951A3
split-complementary
#A3298E #51A329 #29A37B
monochromatic
#411039 #721D63 #A3298E #CE3BB5 #DA6CC7

Accessibility & contrast

On white

6.43
#A3298E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A3298E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3298E
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3298E#FFFFFF#000000##FFFFFF
##A3298E1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#56658B
Tritanopia (blue-blind)
#AB3259
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a3298e;
/* rgb */ color: rgb(163, 41, 142);
/* oklch */ color: oklch(50.9% 0.190 336.0);
Tailwind
colors: {
  custom: {
    50: '#c270af',
    500: '#a3298e',
    950: '#000000',
  },
}
SCSS
$custom: #a3298e;
$custom-light: #c270af;
$custom-dark: #000000;
JSON
{
  "hex": "#a3298e",
  "rgb": {
    "r": 163,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 310.328,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.50904,
    "c": 0.19029,
    "h": 336
  },
  "luminance": 0.11325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A3298E

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

Preview Lab → · Contrast checker → · Palette generator →

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