#A2298A#A2298A

#A2298A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.187 H 337.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A2298A
RGBrgb(162, 41, 138)
HSLhsl(312, 60%, 40%)
HSVhsv(312, 75%, 64%)
CMYKcmyk(0%, 74.7%, 14.8%, 36.5%)
CIE-LABlab(39.76, 58.46, -26.53)
CIE-LCHlch(39.76, 64.19, 335.59°)
OKLaboklab(50.54% 0.1724 -0.0721)
OKLCHoklch(50.54% 0.187 337.3)
XYZxyz(20.2811, 11.1041, 25.1150)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2298A #29A241
analogous
#7E29A2 #A2298A #A2294D
triadic
#A2298A #8AA229 #298AA2
tetradic
#A2298A #A27E29 #29A241 #294DA2
square
#A2298A #A27E29 #29A241 #294DA2
split-complementary
#A2298A #4DA229 #29A27E
monochromatic
#401037 #711D60 #A2298A #CD3BB0 #DA6CC4

Accessibility & contrast

On white

6.52
#A2298A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A2298A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2298A
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2298A#FFFFFF#000000##FFFFFF
##A2298A1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#AB3057
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2298a;
/* rgb */ color: rgb(162, 41, 138);
/* oklch */ color: oklch(50.5% 0.187 337.3);
Tailwind
colors: {
  custom: {
    50: '#c16fac',
    500: '#a2298a',
    950: '#000000',
  },
}
SCSS
$custom: #a2298a;
$custom-light: #c16fac;
$custom-dark: #000000;
JSON
{
  "hex": "#a2298a",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 311.901,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5054,
    "c": 0.1869,
    "h": 337.3
  },
  "luminance": 0.11102
}

Semantic roles & 50–950 ramp

primary
#A2298A
secondary
#67C078
accent
#E36445
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2298A

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

Preview Lab → · Contrast checker → · Palette generator →

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