#A2257A#A2257A

#A2257A is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.181 H 344.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A2257A
RGBrgb(162, 37, 122)
HSLhsl(319, 63%, 39%)
HSVhsv(319, 77%, 64%)
CMYKcmyk(0%, 77.2%, 24.7%, 36.5%)
CIE-LABlab(38.57, 57.52, -18.48)
CIE-LCHlch(38.57, 60.41, 342.19°)
OKLaboklab(49.44% 0.174 -0.0493)
OKLCHoklch(49.44% 0.181 344.2)
XYZxyz(19.0755, 10.4117, 19.4137)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2257A #25A24D
analogous
#8C25A2 #A2257A #A2253C
triadic
#A2257A #7AA225 #257AA2
tetradic
#A2257A #A28C25 #25A24D #253CA2
square
#A2257A #A28C25 #25A24D #253CA2
split-complementary
#A2257A #3CA225 #25A28C
monochromatic
#3E0E2F #701A54 #A2257A #D1349E #DC65B6

Accessibility & contrast

On white

6.81
#A2257A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A2257A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2257A
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2257A#FFFFFF#000000##FFFFFF
##A2257A1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7C
Deuteranopia (green-blind)
#5B6277
Tritanopia (blue-blind)
#AD244D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a2257a;
/* rgb */ color: rgb(162, 37, 122);
/* oklch */ color: oklch(49.4% 0.181 344.2);
Tailwind
colors: {
  custom: {
    50: '#c26da0',
    500: '#a2257a',
    950: '#000000',
  },
}
SCSS
$custom: #a2257a;
$custom-light: #c26da0;
$custom-dark: #000000;
JSON
{
  "hex": "#a2257a",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 319.2,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.18081,
    "h": 344.2
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#A2257A
secondary
#61C280
accent
#E67642
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A2257A

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

Preview Lab → · Contrast checker → · Palette generator →

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