#A2255D#A2255D

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

Color values

HEX#A2255D
RGBrgb(162, 37, 93)
HSLhsl(333, 63%, 39%)
HSVhsv(333, 77%, 64%)
CMYKcmyk(0%, 77.2%, 42.6%, 36.5%)
CIE-LABlab(37.48, 54.16, -1.85)
CIE-LCHlch(37.48, 54.19, 358.05°)
OKLaboklab(48.29% 0.1664 -0.0042)
OKLCHoklch(48.29% 0.166 358.6)
XYZxyz(17.5390, 9.7971, 11.3212)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2255D #25A26A
analogous
#A2259C #A2255D #A22C25
triadic
#A2255D #5DA225 #255DA2
tetradic
#A2255D #9CA225 #25A26A #2C25A2
square
#A2255D #9CA225 #25A26A #2C25A2
split-complementary
#A2255D #25A22C #259CA2
monochromatic
#3E0E24 #701A40 #A2255D #D1347A #DC659B

Accessibility & contrast

On white

7.10
#A2255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A2255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A2255D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2255D#FFFFFF#000000##FFFFFF
##A2255D1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495E
Deuteranopia (green-blind)
#63615A
Tritanopia (blue-blind)
#B0103E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a2255d;
/* rgb */ color: rgb(162, 37, 93);
/* oklch */ color: oklch(48.3% 0.166 358.6);
Tailwind
colors: {
  custom: {
    50: '#c36c8a',
    500: '#a2255d',
    950: '#000000',
  },
}
SCSS
$custom: #a2255d;
$custom-light: #c36c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2255d",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 333.12,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48286,
    "c": 0.16646,
    "h": 358.6
  },
  "luminance": 0.09795
}

Semantic roles & 50–950 ramp

primary
#A2255D
secondary
#61C296
accent
#E69C42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A2255D

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

Preview Lab → · Contrast checker → · Palette generator →

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