#A2255A#A2255A

#A2255A is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.165 H 0.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A2255A
RGBrgb(162, 37, 90)
HSLhsl(335, 63%, 39%)
HSVhsv(335, 77%, 64%)
CMYKcmyk(0%, 77.2%, 44.4%, 36.5%)
CIE-LABlab(37.38, 53.86, -0.07)
CIE-LCHlch(37.38, 53.86, 359.92°)
OKLaboklab(48.19% 0.1654 0.0004)
OKLCHoklch(48.19% 0.165 0.1)
XYZxyz(17.4087, 9.7450, 10.6351)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2255A #25A26D
analogous
#A22599 #A2255A #A22F25
triadic
#A2255A #5AA225 #255AA2
tetradic
#A2255A #99A225 #25A26D #2F25A2
square
#A2255A #99A225 #25A26D #2F25A2
split-complementary
#A2255A #25A22F #2599A2
monochromatic
#3E0E23 #701A3E #A2255A #D13476 #DC6598

Accessibility & contrast

On white

7.12
#A2255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A2255A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A2255A
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2255A#FFFFFF#000000##FFFFFF
##A2255A1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495B
Deuteranopia (green-blind)
#636157
Tritanopia (blue-blind)
#B00D3C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a2255a;
/* rgb */ color: rgb(162, 37, 90);
/* oklch */ color: oklch(48.2% 0.165 0.1);
Tailwind
colors: {
  custom: {
    50: '#c36c88',
    500: '#a2255a',
    950: '#000000',
  },
}
SCSS
$custom: #a2255a;
$custom-light: #c36c88;
$custom-dark: #000000;
JSON
{
  "hex": "#a2255a",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 334.56,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48186,
    "c": 0.16541,
    "h": 0.1
  },
  "luminance": 0.09743
}

Semantic roles & 50–950 ramp

primary
#A2255A
secondary
#61C299
accent
#E6A042
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A2255A

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

Preview Lab → · Contrast checker → · Palette generator →

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