#A2298B#A2298B

#A2298B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.188 H 336.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A2298B
RGBrgb(162, 41, 139)
HSLhsl(311, 60%, 40%)
HSVhsv(311, 75%, 64%)
CMYKcmyk(0%, 74.7%, 14.2%, 36.5%)
CIE-LABlab(39.80, 58.60, -27.06)
CIE-LCHlch(39.80, 64.55, 335.21°)
OKLaboklab(50.59% 0.1725 -0.0736)
OKLCHoklch(50.59% 0.188 336.9)
XYZxyz(20.3538, 11.1332, 25.4981)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2298B #29A240
analogous
#7D29A2 #A2298B #A2294F
triadic
#A2298B #8BA229 #298BA2
tetradic
#A2298B #A27D29 #29A240 #294FA2
square
#A2298B #A27D29 #29A240 #294FA2
split-complementary
#A2298B #4FA229 #29A27D
monochromatic
#401037 #711D61 #A2298B #CD3BB2 #DA6CC5

Accessibility & contrast

On white

6.51
#A2298B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A2298B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2298B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2298B#FFFFFF#000000##FFFFFF
##A2298B1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528E
Deuteranopia (green-blind)
#566488
Tritanopia (blue-blind)
#AB3157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2298b;
/* rgb */ color: rgb(162, 41, 139);
/* oklch */ color: oklch(50.6% 0.188 336.9);
Tailwind
colors: {
  custom: {
    50: '#c16fad',
    500: '#a2298b',
    950: '#000000',
  },
}
SCSS
$custom: #a2298b;
$custom-light: #c16fad;
$custom-dark: #000000;
JSON
{
  "hex": "#a2298b",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 311.405,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.1876,
    "h": 336.9
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2298B

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

Preview Lab → · Contrast checker → · Palette generator →

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