#A2258A#A2258A

#A2258A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.2% C 0.191 H 337.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A2258A
RGBrgb(162, 37, 138)
HSLhsl(312, 63%, 39%)
HSVhsv(312, 77%, 64%)
CMYKcmyk(0%, 77.2%, 14.8%, 36.5%)
CIE-LABlab(39.31, 59.72, -27.22)
CIE-LCHlch(39.31, 65.63, 335.50°)
OKLaboklab(50.22% 0.1762 -0.0741)
OKLCHoklch(50.22% 0.191 337.2)
XYZxyz(20.1497, 10.8414, 25.0712)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2258A #25A23D
analogous
#7C25A2 #A2258A #A2254C
triadic
#A2258A #8AA225 #258AA2
tetradic
#A2258A #A27C25 #25A23D #254CA2
square
#A2258A #A27C25 #25A23D #254CA2
split-complementary
#A2258A #4CA225 #25A27C
monochromatic
#3E0E35 #701A60 #A2258A #D134B2 #DC65C5

Accessibility & contrast

On white

6.63
#A2258A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A2258A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2258A
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2258A#FFFFFF#000000##FFFFFF
##A2258A1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508D
Deuteranopia (green-blind)
#556387
Tritanopia (blue-blind)
#AB2D55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a2258a;
/* rgb */ color: rgb(162, 37, 138);
/* oklch */ color: oklch(50.2% 0.191 337.2);
Tailwind
colors: {
  custom: {
    50: '#c16eac',
    500: '#a2258a',
    950: '#000000',
  },
}
SCSS
$custom: #a2258a;
$custom-light: #c16eac;
$custom-dark: #000000;
JSON
{
  "hex": "#a2258a",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 311.52,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5022,
    "c": 0.19115,
    "h": 337.2
  },
  "luminance": 0.10839
}

Semantic roles & 50–950 ramp

primary
#A2258A
secondary
#61C274
accent
#E66142
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2258A

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

Preview Lab → · Contrast checker → · Palette generator →

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