#A2298C#A2298C

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

Color values

HEX#A2298C
RGBrgb(162, 41, 140)
HSLhsl(311, 60%, 40%)
HSVhsv(311, 75%, 64%)
CMYKcmyk(0%, 74.7%, 13.6%, 36.5%)
CIE-LABlab(39.85, 58.75, -27.60)
CIE-LCHlch(39.85, 64.91, 334.84°)
OKLaboklab(50.64% 0.1726 -0.0752)
OKLCHoklch(50.64% 0.188 336.5)
XYZxyz(20.4272, 11.1626, 25.8846)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2298C #29A23F
analogous
#7C29A2 #A2298C #A22950
triadic
#A2298C #8CA229 #298CA2
tetradic
#A2298C #A27C29 #29A23F #2950A2
square
#A2298C #A27C29 #29A23F #2950A2
split-complementary
#A2298C #50A229 #29A27C
monochromatic
#401038 #711D62 #A2298C #CD3BB3 #DA6CC6

Accessibility & contrast

On white

6.50
#A2298C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2298C
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2298C#FFFFFF#000000##FFFFFF
##A2298C1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#566489
Tritanopia (blue-blind)
#AB3158
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2298c;
/* rgb */ color: rgb(162, 41, 140);
/* oklch */ color: oklch(50.6% 0.188 336.5);
Tailwind
colors: {
  custom: {
    50: '#c16fae',
    500: '#a2298c',
    950: '#000000',
  },
}
SCSS
$custom: #a2298c;
$custom-light: #c16fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a2298c",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 310.909,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50642,
    "c": 0.1883,
    "h": 336.5
  },
  "luminance": 0.11161
}

Semantic roles & 50–950 ramp

primary
#A2298C
secondary
#67C077
accent
#E36245
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2298C

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

Preview Lab → · Contrast checker → · Palette generator →

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