#A2257D#A2257D

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

Color values

HEX#A2257D
RGBrgb(162, 37, 125)
HSLhsl(318, 63%, 39%)
HSVhsv(318, 77%, 64%)
CMYKcmyk(0%, 77.2%, 22.8%, 36.5%)
CIE-LABlab(38.70, 57.91, -20.14)
CIE-LCHlch(38.70, 61.32, 340.82°)
OKLaboklab(49.58% 0.1745 -0.054)
OKLCHoklch(49.58% 0.183 342.8)
XYZxyz(19.2642, 10.4872, 20.4078)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2257D #25A24A
analogous
#8925A2 #A2257D #A2253F
triadic
#A2257D #7DA225 #257DA2
tetradic
#A2257D #A28925 #25A24A #253FA2
square
#A2257D #A28925 #25A24A #253FA2
split-complementary
#A2257D #3FA225 #25A289
monochromatic
#3E0E30 #701A57 #A2257D #D134A2 #DC65B9

Accessibility & contrast

On white

6.78
#A2257D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2257D
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2257D#FFFFFF#000000##FFFFFF
##A2257D1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#5A627A
Tritanopia (blue-blind)
#AD264E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a2257d;
/* rgb */ color: rgb(162, 37, 125);
/* oklch */ color: oklch(49.6% 0.183 342.8);
Tailwind
colors: {
  custom: {
    50: '#c26da3',
    500: '#a2257d',
    950: '#000000',
  },
}
SCSS
$custom: #a2257d;
$custom-light: #c26da3;
$custom-dark: #000000;
JSON
{
  "hex": "#a2257d",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 317.76,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49582,
    "c": 0.18264,
    "h": 342.8
  },
  "luminance": 0.10485
}

Semantic roles & 50–950 ramp

primary
#A2257D
secondary
#61C27E
accent
#E67242
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A2257D

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

Preview Lab → · Contrast checker → · Palette generator →

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