#A2255B#A2255B

#A2255B is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.166 H 359.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A2255B
RGBrgb(162, 37, 91)
HSLhsl(334, 63%, 39%)
HSVhsv(334, 77%, 64%)
CMYKcmyk(0%, 77.2%, 43.8%, 36.5%)
CIE-LABlab(37.41, 53.96, -0.66)
CIE-LCHlch(37.41, 53.97, 359.30°)
OKLaboklab(48.22% 0.1658 -0.0011)
OKLCHoklch(48.22% 0.166 359.6)
XYZxyz(17.4515, 9.7621, 10.8608)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2255B #25A26C
analogous
#A2259A #A2255B #A22E25
triadic
#A2255B #5BA225 #255BA2
tetradic
#A2255B #9AA225 #25A26C #2E25A2
square
#A2255B #9AA225 #25A26C #2E25A2
split-complementary
#A2255B #25A22E #259AA2
monochromatic
#3E0E23 #701A3F #A2255B #D13477 #DC6599

Accessibility & contrast

On white

7.11
#A2255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A2255B
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2255B#FFFFFF#000000##FFFFFF
##A2255B1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495C
Deuteranopia (green-blind)
#636158
Tritanopia (blue-blind)
#B00E3D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a2255b;
/* rgb */ color: rgb(162, 37, 91);
/* oklch */ color: oklch(48.2% 0.166 359.6);
Tailwind
colors: {
  custom: {
    50: '#c36c89',
    500: '#a2255b',
    950: '#000000',
  },
}
SCSS
$custom: #a2255b;
$custom-light: #c36c89;
$custom-dark: #000000;
JSON
{
  "hex": "#a2255b",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 334.08,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48219,
    "c": 0.16575,
    "h": 359.6
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#A2255B
secondary
#61C298
accent
#E69F42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A2255B

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

Preview Lab → · Contrast checker → · Palette generator →

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