#A22A7D#A22A7D

#A22A7D is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.177 H 343.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A22A7D
RGBrgb(162, 42, 125)
HSLhsl(319, 59%, 40%)
HSVhsv(319, 74%, 64%)
CMYKcmyk(0%, 74.1%, 22.8%, 36.5%)
CIE-LABlab(39.28, 56.29, -19.26)
CIE-LCHlch(39.28, 59.49, 341.11°)
OKLaboklab(50% 0.1695 -0.0515)
OKLCHoklch(50% 0.177 343.1)
XYZxyz(19.4306, 10.8200, 20.4632)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A7D #2AA24F
analogous
#8B2AA2 #A22A7D #A22A41
triadic
#A22A7D #7DA22A #2A7DA2
tetradic
#A22A7D #A28B2A #2AA24F #2A41A2
square
#A22A7D #A28B2A #2AA24F #2A41A2
split-complementary
#A22A7D #41A22A #2AA28B
monochromatic
#411132 #711D58 #A22A7D #CD3DA0 #D96DB8

Accessibility & contrast

On white

6.64
#A22A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A22A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22A7D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A7D#FFFFFF#000000##FFFFFF
##A22A7D1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#AC2A50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22a7d;
/* rgb */ color: rgb(162, 42, 125);
/* oklch */ color: oklch(50.0% 0.177 343.1);
Tailwind
colors: {
  custom: {
    50: '#c16fa2',
    500: '#a22a7d',
    950: '#000000',
  },
}
SCSS
$custom: #a22a7d;
$custom-light: #c16fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a7d",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 318.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.49997,
    "c": 0.17716,
    "h": 343.1
  },
  "luminance": 0.10818
}

Semantic roles & 50–950 ramp

primary
#A22A7D
secondary
#68C083
accent
#E27646
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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