#A2298D#A2298D

#A2298D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.189 H 336.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A2298D
RGBrgb(162, 41, 141)
HSLhsl(310, 60%, 40%)
HSVhsv(310, 75%, 64%)
CMYKcmyk(0%, 74.7%, 13%, 36.5%)
CIE-LABlab(39.90, 58.90, -28.13)
CIE-LCHlch(39.90, 65.27, 334.47°)
OKLaboklab(50.69% 0.1727 -0.0767)
OKLCHoklch(50.69% 0.189 336.1)
XYZxyz(20.5013, 11.1922, 26.2747)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2298D #29A23E
analogous
#7A29A2 #A2298D #A22951
triadic
#A2298D #8DA229 #298DA2
tetradic
#A2298D #A27A29 #29A23E #2951A2
square
#A2298D #A27A29 #29A23E #2951A2
split-complementary
#A2298D #51A229 #29A27A
monochromatic
#401038 #711D62 #A2298D #CD3BB4 #DA6CC7

Accessibility & contrast

On white

6.49
#A2298D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A2298D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2298D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2298D#FFFFFF#000000##FFFFFF
##A2298D1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5290
Deuteranopia (green-blind)
#55648A
Tritanopia (blue-blind)
#AA3258
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2298d;
/* rgb */ color: rgb(162, 41, 141);
/* oklch */ color: oklch(50.7% 0.189 336.1);
Tailwind
colors: {
  custom: {
    50: '#c16fae',
    500: '#a2298d',
    950: '#000000',
  },
}
SCSS
$custom: #a2298d;
$custom-light: #c16fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a2298d",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 310.413,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50694,
    "c": 0.18901,
    "h": 336.1
  },
  "luminance": 0.1119
}

Semantic roles & 50–950 ramp

primary
#A2298D
secondary
#67C076
accent
#E36045
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2298D

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

Preview Lab → · Contrast checker → · Palette generator →

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