#A2257E#A2257E

#A2257E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.183 H 342.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A2257E
RGBrgb(162, 37, 126)
HSLhsl(317, 63%, 39%)
HSVhsv(317, 77%, 64%)
CMYKcmyk(0%, 77.2%, 22.2%, 36.5%)
CIE-LABlab(38.75, 58.05, -20.69)
CIE-LCHlch(38.75, 61.63, 340.38°)
OKLaboklab(49.63% 0.1747 -0.0555)
OKLCHoklch(49.63% 0.183 342.4)
XYZxyz(19.3284, 10.5129, 20.7459)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2257E #25A249
analogous
#8825A2 #A2257E #A22540
triadic
#A2257E #7EA225 #257EA2
tetradic
#A2257E #A28825 #25A249 #2540A2
square
#A2257E #A28825 #25A249 #2540A2
split-complementary
#A2257E #40A225 #25A288
monochromatic
#3E0E31 #701A57 #A2257E #D134A3 #DC65BA

Accessibility & contrast

On white

6.77
#A2257E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A2257E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2257E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2257E#FFFFFF#000000##FFFFFF
##A2257E1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E80
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#AC264F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a2257e;
/* rgb */ color: rgb(162, 37, 126);
/* oklch */ color: oklch(49.6% 0.183 342.4);
Tailwind
colors: {
  custom: {
    50: '#c26da3',
    500: '#a2257e',
    950: '#000000',
  },
}
SCSS
$custom: #a2257e;
$custom-light: #c26da3;
$custom-dark: #000000;
JSON
{
  "hex": "#a2257e",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 317.28,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49629,
    "c": 0.18327,
    "h": 342.4
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#A2257E
secondary
#61C27D
accent
#E67142
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A2257E

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

Preview Lab → · Contrast checker → · Palette generator →

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