#A2256A#A2256A

#A2256A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.172 H 351.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A2256A
RGBrgb(162, 37, 106)
HSLhsl(327, 63%, 39%)
HSVhsv(327, 77%, 64%)
CMYKcmyk(0%, 77.2%, 34.6%, 36.5%)
CIE-LABlab(37.93, 55.56, -9.43)
CIE-LCHlch(37.93, 56.35, 350.37°)
OKLaboklab(48.76% 0.1703 -0.0243)
OKLCHoklch(48.76% 0.172 351.9)
XYZxyz(18.1645, 10.0473, 14.6156)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2256A #25A25D
analogous
#9C25A2 #A2256A #A2252C
triadic
#A2256A #6AA225 #256AA2
tetradic
#A2256A #A29C25 #25A25D #252CA2
square
#A2256A #A29C25 #25A25D #252CA2
split-complementary
#A2256A #2CA225 #25A29C
monochromatic
#3E0E29 #701A49 #A2256A #D1348A #DC65A7

Accessibility & contrast

On white

6.98
#A2256A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2256A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2256A#FFFFFF#000000##FFFFFF
##A2256A1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4B6C
Deuteranopia (green-blind)
#606167
Tritanopia (blue-blind)
#AF1A44
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a2256a;
/* rgb */ color: rgb(162, 37, 106);
/* oklch */ color: oklch(48.8% 0.172 351.9);
Tailwind
colors: {
  custom: {
    50: '#c26d94',
    500: '#a2256a',
    950: '#000000',
  },
}
SCSS
$custom: #a2256a;
$custom-light: #c26d94;
$custom-dark: #000000;
JSON
{
  "hex": "#a2256a",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 326.88,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.17204,
    "h": 351.9
  },
  "luminance": 0.10045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2256A

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

Preview Lab → · Contrast checker → · Palette generator →

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