#A2297A#A2297A

#A2297A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.176 H 344.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A2297A
RGBrgb(162, 41, 122)
HSLhsl(320, 60%, 40%)
HSVhsv(320, 75%, 64%)
CMYKcmyk(0%, 74.7%, 24.7%, 36.5%)
CIE-LABlab(39.03, 56.23, -17.78)
CIE-LCHlch(39.03, 58.97, 342.45°)
OKLaboklab(49.77% 0.17 -0.0474)
OKLCHoklch(49.77% 0.176 344.4)
XYZxyz(19.2068, 10.6744, 19.4575)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2297A #29A251
analogous
#8E29A2 #A2297A #A2293D
triadic
#A2297A #7AA229 #297AA2
tetradic
#A2297A #A28E29 #29A251 #293DA2
square
#A2297A #A28E29 #29A251 #293DA2
split-complementary
#A2297A #3DA229 #29A28E
monochromatic
#401030 #711D55 #A2297A #CD3B9D #DA6CB5

Accessibility & contrast

On white

6.70
#A2297A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A2297A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2297A
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2297A#FFFFFF#000000##FFFFFF
##A2297A1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#5C6377
Tritanopia (blue-blind)
#AD284E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2297a;
/* rgb */ color: rgb(162, 41, 122);
/* oklch */ color: oklch(49.8% 0.176 344.4);
Tailwind
colors: {
  custom: {
    50: '#c16fa0',
    500: '#a2297a',
    950: '#000000',
  },
}
SCSS
$custom: #a2297a;
$custom-light: #c16fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a2297a",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 122
  },
  "hsl": {
    "h": 319.835,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49774,
    "c": 0.17645,
    "h": 344.4
  },
  "luminance": 0.10672
}

Semantic roles & 50–950 ramp

primary
#A2297A
secondary
#67C084
accent
#E37945
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A2297A

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

Preview Lab → · Contrast checker → · Palette generator →

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