#A2297E#A2297E

#A2297E is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.179 H 342.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A2297E
RGBrgb(162, 41, 126)
HSLhsl(318, 60%, 40%)
HSVhsv(318, 75%, 64%)
CMYKcmyk(0%, 74.7%, 22.2%, 36.5%)
CIE-LABlab(39.20, 56.76, -19.99)
CIE-LCHlch(39.20, 60.18, 340.60°)
OKLaboklab(49.96% 0.1707 -0.0536)
OKLCHoklch(49.96% 0.179 342.6)
XYZxyz(19.4598, 10.7756, 20.7897)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2297E #29A24D
analogous
#8929A2 #A2297E #A22942
triadic
#A2297E #7EA229 #297EA2
tetradic
#A2297E #A28929 #29A24D #2942A2
square
#A2297E #A28929 #29A24D #2942A2
split-complementary
#A2297E #42A229 #29A289
monochromatic
#401032 #711D58 #A2297E #CD3BA2 #DA6CB9

Accessibility & contrast

On white

6.66
#A2297E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A2297E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2297E
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2297E#FFFFFF#000000##FFFFFF
##A2297E1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#5B637B
Tritanopia (blue-blind)
#AC2A50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2297e;
/* rgb */ color: rgb(162, 41, 126);
/* oklch */ color: oklch(50.0% 0.179 342.6);
Tailwind
colors: {
  custom: {
    50: '#c16fa3',
    500: '#a2297e',
    950: '#000000',
  },
}
SCSS
$custom: #a2297e;
$custom-light: #c16fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a2297e",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 317.851,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49957,
    "c": 0.17893,
    "h": 342.6
  },
  "luminance": 0.10774
}

Semantic roles & 50–950 ramp

primary
#A2297E
secondary
#67C081
accent
#E37445
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A2297E

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

Preview Lab → · Contrast checker → · Palette generator →

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