#A22E7D#A22E7D

#A22E7D is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.172 H 343.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A22E7D
RGBrgb(162, 46, 125)
HSLhsl(319, 56%, 41%)
HSVhsv(319, 72%, 64%)
CMYKcmyk(0%, 71.6%, 22.8%, 36.5%)
CIE-LABlab(39.78, 54.87, -18.48)
CIE-LCHlch(39.78, 57.90, 341.38°)
OKLaboklab(50.36% 0.1652 -0.0494)
OKLCHoklch(50.36% 0.172 343.3)
XYZxyz(19.5796, 11.1180, 20.5129)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E7D #2EA253
analogous
#8D2EA2 #A22E7D #A22E43
triadic
#A22E7D #7DA22E #2E7DA2
tetradic
#A22E7D #A28D2E #2EA253 #2E43A2
square
#A22E7D #A28D2E #2EA253 #2E43A2
split-complementary
#A22E7D #43A22E #2EA28D
monochromatic
#431333 #722058 #A22E7D #CA439F #D773B7

Accessibility & contrast

On white

6.52
#A22E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A22E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E7D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E7D#FFFFFF#000000##FFFFFF
##A22E7D1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517F
Deuteranopia (green-blind)
#5D657A
Tritanopia (blue-blind)
#AC2E51
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22e7d;
/* rgb */ color: rgb(162, 46, 125);
/* oklch */ color: oklch(50.4% 0.172 343.3);
Tailwind
colors: {
  custom: {
    50: '#c171a2',
    500: '#a22e7d',
    950: '#000000',
  },
}
SCSS
$custom: #a22e7d;
$custom-light: #c171a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e7d",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 319.138,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50363,
    "c": 0.17238,
    "h": 343.3
  },
  "luminance": 0.11116
}

Semantic roles & 50–950 ramp

primary
#A22E7D
secondary
#6DBF87
accent
#DF7949
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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