#A2256D#A2256D

#A2256D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.174 H 350.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A2256D
RGBrgb(162, 37, 109)
HSLhsl(325, 63%, 39%)
HSVhsv(325, 77%, 64%)
CMYKcmyk(0%, 77.2%, 32.7%, 36.5%)
CIE-LABlab(38.04, 55.91, -11.15)
CIE-LCHlch(38.04, 57.01, 348.72°)
OKLaboklab(48.88% 0.1711 -0.029)
OKLCHoklch(48.88% 0.174 350.4)
XYZxyz(18.3232, 10.1108, 15.4517)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2256D #25A25A
analogous
#9925A2 #A2256D #A2252F
triadic
#A2256D #6DA225 #256DA2
tetradic
#A2256D #A29925 #25A25A #252FA2
square
#A2256D #A29925 #25A25A #252FA2
split-complementary
#A2256D #2FA225 #25A299
monochromatic
#3E0E2A #701A4B #A2256D #D1348E #DC65AA

Accessibility & contrast

On white

6.95
#A2256D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A2256D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2256D
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2256D#FFFFFF#000000##FFFFFF
##A2256D1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6F
Deuteranopia (green-blind)
#5F626A
Tritanopia (blue-blind)
#AE1C46
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a2256d;
/* rgb */ color: rgb(162, 37, 109);
/* oklch */ color: oklch(48.9% 0.174 350.4);
Tailwind
colors: {
  custom: {
    50: '#c26d96',
    500: '#a2256d',
    950: '#000000',
  },
}
SCSS
$custom: #a2256d;
$custom-light: #c26d96;
$custom-dark: #000000;
JSON
{
  "hex": "#a2256d",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 325.44,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48884,
    "c": 0.17355,
    "h": 350.4
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#A2256D
secondary
#61C28A
accent
#E68742
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A2256D

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

Preview Lab → · Contrast checker → · Palette generator →

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