#A2297C#A2297C

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

Color values

HEX#A2297C
RGBrgb(162, 41, 124)
HSLhsl(319, 60%, 40%)
HSVhsv(319, 75%, 64%)
CMYKcmyk(0%, 74.7%, 23.5%, 36.5%)
CIE-LABlab(39.11, 56.49, -18.89)
CIE-LCHlch(39.11, 59.57, 341.51°)
OKLaboklab(49.86% 0.1704 -0.0505)
OKLCHoklch(49.86% 0.178 343.5)
XYZxyz(19.3320, 10.7245, 20.1168)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2297C #29A24F
analogous
#8C29A2 #A2297C #A22940
triadic
#A2297C #7CA229 #297CA2
tetradic
#A2297C #A28C29 #29A24F #2940A2
square
#A2297C #A28C29 #29A24F #2940A2
split-complementary
#A2297C #40A229 #29A28C
monochromatic
#401031 #711D57 #A2297C #CD3B9F #DA6CB7

Accessibility & contrast

On white

6.68
#A2297C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2297C
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2297C#FFFFFF#000000##FFFFFF
##A2297C1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7E
Deuteranopia (green-blind)
#5C6379
Tritanopia (blue-blind)
#AD294F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2297c;
/* rgb */ color: rgb(162, 41, 124);
/* oklch */ color: oklch(49.9% 0.178 343.5);
Tailwind
colors: {
  custom: {
    50: '#c16fa2',
    500: '#a2297c',
    950: '#000000',
  },
}
SCSS
$custom: #a2297c;
$custom-light: #c16fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a2297c",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 318.843,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49865,
    "c": 0.17768,
    "h": 343.5
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2297C

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

Preview Lab → · Contrast checker → · Palette generator →

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