#A2257F#A2257F

#A2257F is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.7% C 0.184 H 341.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A2257F
RGBrgb(162, 37, 127)
HSLhsl(317, 63%, 39%)
HSVhsv(317, 77%, 64%)
CMYKcmyk(0%, 77.2%, 21.6%, 36.5%)
CIE-LABlab(38.79, 58.18, -21.24)
CIE-LCHlch(38.79, 61.94, 339.94°)
OKLaboklab(49.68% 0.1748 -0.0571)
OKLCHoklch(49.68% 0.184 341.9)
XYZxyz(19.3933, 10.5388, 21.0874)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2257F #25A248
analogous
#8725A2 #A2257F #A22541
triadic
#A2257F #7FA225 #257FA2
tetradic
#A2257F #A28725 #25A248 #2541A2
square
#A2257F #A28725 #25A248 #2541A2
split-complementary
#A2257F #41A225 #25A287
monochromatic
#3E0E31 #701A58 #A2257F #D134A5 #DC65BB

Accessibility & contrast

On white

6.76
#A2257F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A2257F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2257F
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2257F#FFFFFF#000000##FFFFFF
##A2257F1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#59637C
Tritanopia (blue-blind)
#AC274F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a2257f;
/* rgb */ color: rgb(162, 37, 127);
/* oklch */ color: oklch(49.7% 0.184 341.9);
Tailwind
colors: {
  custom: {
    50: '#c26da4',
    500: '#a2257f',
    950: '#000000',
  },
}
SCSS
$custom: #a2257f;
$custom-light: #c26da4;
$custom-dark: #000000;
JSON
{
  "hex": "#a2257f",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 316.8,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.1839,
    "h": 341.9
  },
  "luminance": 0.10537
}

Semantic roles & 50–950 ramp

primary
#A2257F
secondary
#61C27C
accent
#E67042
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A2257F

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

Preview Lab → · Contrast checker → · Palette generator →

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