#A2256C#A2256C

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

Color values

HEX#A2256C
RGBrgb(162, 37, 108)
HSLhsl(326, 63%, 39%)
HSVhsv(326, 77%, 64%)
CMYKcmyk(0%, 77.2%, 33.3%, 36.5%)
CIE-LABlab(38.00, 55.79, -10.57)
CIE-LCHlch(38.00, 56.78, 349.27°)
OKLaboklab(48.84% 0.1708 -0.0275)
OKLCHoklch(48.84% 0.173 350.9)
XYZxyz(18.2697, 10.0894, 15.1698)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2256C #25A25B
analogous
#9A25A2 #A2256C #A2252E
triadic
#A2256C #6CA225 #256CA2
tetradic
#A2256C #A29A25 #25A25B #252EA2
square
#A2256C #A29A25 #25A25B #252EA2
split-complementary
#A2256C #2EA225 #25A29A
monochromatic
#3E0E2A #701A4B #A2256C #D1348D #DC65A9

Accessibility & contrast

On white

6.96
#A2256C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2256C
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2256C#FFFFFF#000000##FFFFFF
##A2256C1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6E
Deuteranopia (green-blind)
#5F6169
Tritanopia (blue-blind)
#AE1B45
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a2256c;
/* rgb */ color: rgb(162, 37, 108);
/* oklch */ color: oklch(48.8% 0.173 350.9);
Tailwind
colors: {
  custom: {
    50: '#c26d96',
    500: '#a2256c',
    950: '#000000',
  },
}
SCSS
$custom: #a2256c;
$custom-light: #c26d96;
$custom-dark: #000000;
JSON
{
  "hex": "#a2256c",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 325.92,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48844,
    "c": 0.17303,
    "h": 350.9
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#A2256C
secondary
#61C28B
accent
#E68942
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A2256C

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

Preview Lab → · Contrast checker → · Palette generator →

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