#A2257B#A2257B

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

Color values

HEX#A2257B
RGBrgb(162, 37, 123)
HSLhsl(319, 63%, 39%)
HSVhsv(319, 77%, 64%)
CMYKcmyk(0%, 77.2%, 24.1%, 36.5%)
CIE-LABlab(38.61, 57.65, -19.03)
CIE-LCHlch(38.61, 60.71, 341.73°)
OKLaboklab(49.49% 0.1741 -0.0509)
OKLCHoklch(49.49% 0.181 343.7)
XYZxyz(19.1378, 10.4366, 19.7417)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2257B #25A24C
analogous
#8B25A2 #A2257B #A2253D
triadic
#A2257B #7BA225 #257BA2
tetradic
#A2257B #A28B25 #25A24C #253DA2
square
#A2257B #A28B25 #25A24C #253DA2
split-complementary
#A2257B #3DA225 #25A28B
monochromatic
#3E0E2F #701A55 #A2257B #D134A0 #DC65B7

Accessibility & contrast

On white

6.80
#A2257B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A2257B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2257B
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2257B#FFFFFF#000000##FFFFFF
##A2257B1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7D
Deuteranopia (green-blind)
#5B6278
Tritanopia (blue-blind)
#AD254D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a2257b;
/* rgb */ color: rgb(162, 37, 123);
/* oklch */ color: oklch(49.5% 0.181 343.7);
Tailwind
colors: {
  custom: {
    50: '#c26da1',
    500: '#a2257b',
    950: '#000000',
  },
}
SCSS
$custom: #a2257b;
$custom-light: #c26da1;
$custom-dark: #000000;
JSON
{
  "hex": "#a2257b",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 123
  },
  "hsl": {
    "h": 318.72,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4949,
    "c": 0.18142,
    "h": 343.7
  },
  "luminance": 0.10435
}

Semantic roles & 50–950 ramp

primary
#A2257B
secondary
#61C27F
accent
#E67542
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A2257B

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

Preview Lab → · Contrast checker → · Palette generator →

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