#A2256B#A2256B

#A2256B is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.173 H 351.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A2256B
RGBrgb(162, 37, 107)
HSLhsl(326, 63%, 39%)
HSVhsv(326, 77%, 64%)
CMYKcmyk(0%, 77.2%, 34%, 36.5%)
CIE-LABlab(37.96, 55.67, -10.00)
CIE-LCHlch(37.96, 56.57, 349.82°)
OKLaboklab(48.8% 0.1706 -0.0259)
OKLCHoklch(48.8% 0.173 351.4)
XYZxyz(18.2168, 10.0682, 14.8911)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2256B #25A25C
analogous
#9B25A2 #A2256B #A2252D
triadic
#A2256B #6BA225 #256BA2
tetradic
#A2256B #A29B25 #25A25C #252DA2
square
#A2256B #A29B25 #25A25C #252DA2
split-complementary
#A2256B #2DA225 #25A29B
monochromatic
#3E0E29 #701A4A #A2256B #D1348C #DC65A8

Accessibility & contrast

On white

6.97
#A2256B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A2256B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2256B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2256B#FFFFFF#000000##FFFFFF
##A2256B1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6D
Deuteranopia (green-blind)
#5F6168
Tritanopia (blue-blind)
#AE1A45
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a2256b;
/* rgb */ color: rgb(162, 37, 107);
/* oklch */ color: oklch(48.8% 0.173 351.4);
Tailwind
colors: {
  custom: {
    50: '#c26d95',
    500: '#a2256b',
    950: '#000000',
  },
}
SCSS
$custom: #a2256b;
$custom-light: #c26d95;
$custom-dark: #000000;
JSON
{
  "hex": "#a2256b",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 326.4,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48804,
    "c": 0.17254,
    "h": 351.4
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#A2256B
secondary
#61C28C
accent
#E68A42
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A2256B

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

Preview Lab → · Contrast checker → · Palette generator →

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