#A2258B#A2258B

#A2258B is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.192 H 336.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A2258B
RGBrgb(162, 37, 139)
HSLhsl(311, 63%, 39%)
HSVhsv(311, 77%, 64%)
CMYKcmyk(0%, 77.2%, 14.2%, 36.5%)
CIE-LABlab(39.36, 59.87, -27.75)
CIE-LCHlch(39.36, 65.99, 335.13°)
OKLaboklab(50.27% 0.1763 -0.0756)
OKLCHoklch(50.27% 0.192 336.8)
XYZxyz(20.2224, 10.8705, 25.4543)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2258B #25A23C
analogous
#7B25A2 #A2258B #A2254D
triadic
#A2258B #8BA225 #258BA2
tetradic
#A2258B #A27B25 #25A23C #254DA2
square
#A2258B #A27B25 #25A23C #254DA2
split-complementary
#A2258B #4DA225 #25A27B
monochromatic
#3E0E36 #701A60 #A2258B #D134B4 #DC65C6

Accessibility & contrast

On white

6.62
#A2258B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2258B
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2258B#FFFFFF#000000##FFFFFF
##A2258B1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28518E
Deuteranopia (green-blind)
#556388
Tritanopia (blue-blind)
#AB2E56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a2258b;
/* rgb */ color: rgb(162, 37, 139);
/* oklch */ color: oklch(50.3% 0.192 336.8);
Tailwind
colors: {
  custom: {
    50: '#c16ead',
    500: '#a2258b',
    950: '#000000',
  },
}
SCSS
$custom: #a2258b;
$custom-light: #c16ead;
$custom-dark: #000000;
JSON
{
  "hex": "#a2258b",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 311.04,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50272,
    "c": 0.19183,
    "h": 336.8
  },
  "luminance": 0.10869
}

Semantic roles & 50–950 ramp

primary
#A2258B
secondary
#61C273
accent
#E66042
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2258B

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

Preview Lab → · Contrast checker → · Palette generator →

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