#A2297F#A2297F

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

Color values

HEX#A2297F
RGBrgb(162, 41, 127)
HSLhsl(317, 60%, 40%)
HSVhsv(317, 75%, 64%)
CMYKcmyk(0%, 74.7%, 21.6%, 36.5%)
CIE-LABlab(39.24, 56.90, -20.54)
CIE-LCHlch(39.24, 60.49, 340.15°)
OKLaboklab(50% 0.1709 -0.0551)
OKLCHoklch(50% 0.18 342.1)
XYZxyz(19.5247, 10.8016, 21.1312)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2297F #29A24C
analogous
#8829A2 #A2297F #A22943
triadic
#A2297F #7FA229 #297FA2
tetradic
#A2297F #A28829 #29A24C #2943A2
square
#A2297F #A28829 #29A24C #2943A2
split-complementary
#A2297F #43A229 #29A288
monochromatic
#401032 #711D59 #A2297F #CD3BA3 #DA6CBA

Accessibility & contrast

On white

6.65
#A2297F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A2297F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2297F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2297F#FFFFFF#000000##FFFFFF
##A2297F1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#5A647C
Tritanopia (blue-blind)
#AC2A51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2297f;
/* rgb */ color: rgb(162, 41, 127);
/* oklch */ color: oklch(50.0% 0.180 342.1);
Tailwind
colors: {
  custom: {
    50: '#c16fa4',
    500: '#a2297f',
    950: '#000000',
  },
}
SCSS
$custom: #a2297f;
$custom-light: #c16fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a2297f",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 317.355,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50003,
    "c": 0.17956,
    "h": 342.1
  },
  "luminance": 0.108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2297F

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

Preview Lab → · Contrast checker → · Palette generator →

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