#A2297B#A2297B

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

Color values

HEX#A2297B
RGBrgb(162, 41, 123)
HSLhsl(319, 60%, 40%)
HSVhsv(319, 75%, 64%)
CMYKcmyk(0%, 74.7%, 24.1%, 36.5%)
CIE-LABlab(39.07, 56.36, -18.33)
CIE-LCHlch(39.07, 59.27, 341.98°)
OKLaboklab(49.82% 0.1702 -0.0489)
OKLCHoklch(49.82% 0.177 344)
XYZxyz(19.2691, 10.6994, 19.7855)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2297B #29A250
analogous
#8D29A2 #A2297B #A2293E
triadic
#A2297B #7BA229 #297BA2
tetradic
#A2297B #A28D29 #29A250 #293EA2
square
#A2297B #A28D29 #29A250 #293EA2
split-complementary
#A2297B #3EA229 #29A28D
monochromatic
#401031 #711D56 #A2297B #CD3B9E #DA6CB6

Accessibility & contrast

On white

6.69
#A2297B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A2297B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2297B
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2297B#FFFFFF#000000##FFFFFF
##A2297B1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7D
Deuteranopia (green-blind)
#5C6378
Tritanopia (blue-blind)
#AD284F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2297b;
/* rgb */ color: rgb(162, 41, 123);
/* oklch */ color: oklch(49.8% 0.177 344.0);
Tailwind
colors: {
  custom: {
    50: '#c16fa1',
    500: '#a2297b',
    950: '#000000',
  },
}
SCSS
$custom: #a2297b;
$custom-light: #c16fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#a2297b",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 123
  },
  "hsl": {
    "h": 319.339,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49819,
    "c": 0.17706,
    "h": 344
  },
  "luminance": 0.10697
}

Semantic roles & 50–950 ramp

primary
#A2297B
secondary
#67C083
accent
#E37845
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A2297B

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

Preview Lab → · Contrast checker → · Palette generator →

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