#A3297F#A3297F

#A3297F is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.180 H 342.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A3297F
RGBrgb(163, 41, 127)
HSLhsl(318, 60%, 40%)
HSVhsv(318, 75%, 64%)
CMYKcmyk(0%, 74.8%, 22.1%, 36.1%)
CIE-LABlab(39.42, 57.15, -20.25)
CIE-LCHlch(39.42, 60.63, 340.49°)
OKLaboklab(50.17% 0.1718 -0.0543)
OKLCHoklch(50.17% 0.18 342.5)
XYZxyz(19.7286, 10.9067, 21.1408)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3297F #29A34D
analogous
#8A29A3 #A3297F #A32942
triadic
#A3297F #7FA329 #297FA3
tetradic
#A3297F #A38A29 #29A34D #2942A3
square
#A3297F #A38A29 #29A34D #2942A3
split-complementary
#A3297F #42A329 #29A38A
monochromatic
#411033 #721D59 #A3297F #CE3BA3 #DA6CBA

Accessibility & contrast

On white

6.60
#A3297F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A3297F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3297F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3297F#FFFFFF#000000##FFFFFF
##A3297F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355081
Deuteranopia (green-blind)
#5B647C
Tritanopia (blue-blind)
#AD2A51
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a3297f;
/* rgb */ color: rgb(163, 41, 127);
/* oklch */ color: oklch(50.2% 0.180 342.5);
Tailwind
colors: {
  custom: {
    50: '#c26fa4',
    500: '#a3297f',
    950: '#000000',
  },
}
SCSS
$custom: #a3297f;
$custom-light: #c26fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a3297f",
  "rgb": {
    "r": 163,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 317.705,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.50167,
    "c": 0.18022,
    "h": 342.5
  },
  "luminance": 0.10905
}

Semantic roles & 50–950 ramp

primary
#A3297F
secondary
#67C182
accent
#E37345
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A3297F

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

Preview Lab → · Contrast checker → · Palette generator →

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