#A2297D#A2297D

#A2297D is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.178 H 343.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A2297D
RGBrgb(162, 41, 125)
HSLhsl(318, 60%, 40%)
HSVhsv(318, 75%, 64%)
CMYKcmyk(0%, 74.7%, 22.8%, 36.5%)
CIE-LABlab(39.16, 56.63, -19.44)
CIE-LCHlch(39.16, 59.87, 341.05°)
OKLaboklab(49.91% 0.1705 -0.052)
OKLCHoklch(49.91% 0.178 343)
XYZxyz(19.3956, 10.7499, 20.4516)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2297D #29A24E
analogous
#8B29A2 #A2297D #A22941
triadic
#A2297D #7DA229 #297DA2
tetradic
#A2297D #A28B29 #29A24E #2941A2
square
#A2297D #A28B29 #29A24E #2941A2
split-complementary
#A2297D #41A229 #29A28B
monochromatic
#401032 #711D57 #A2297D #CD3BA1 #DA6CB8

Accessibility & contrast

On white

6.67
#A2297D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2297D
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2297D#FFFFFF#000000##FFFFFF
##A2297D1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7F
Deuteranopia (green-blind)
#5B637A
Tritanopia (blue-blind)
#AD2950
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2297d;
/* rgb */ color: rgb(162, 41, 125);
/* oklch */ color: oklch(49.9% 0.178 343.0);
Tailwind
colors: {
  custom: {
    50: '#c16fa2',
    500: '#a2297d',
    950: '#000000',
  },
}
SCSS
$custom: #a2297d;
$custom-light: #c16fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a2297d",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 318.347,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49911,
    "c": 0.1783,
    "h": 343
  },
  "luminance": 0.10748
}

Semantic roles & 50–950 ramp

primary
#A2297D
secondary
#67C082
accent
#E37545
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A2297D

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

Preview Lab → · Contrast checker → · Palette generator →

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