#A22F7C#A22F7C

#A22F7C is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.171 H 343.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A22F7C
RGBrgb(162, 47, 124)
HSLhsl(320, 55%, 41%)
HSVhsv(320, 71%, 64%)
CMYKcmyk(0%, 71%, 23.5%, 36.5%)
CIE-LABlab(39.87, 54.37, -17.73)
CIE-LCHlch(39.87, 57.18, 341.94°)
OKLaboklab(50.42% 0.1638 -0.0473)
OKLCHoklch(50.42% 0.171 343.9)
XYZxyz(19.5556, 11.1716, 20.1913)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F7C #2FA255
analogous
#8E2FA2 #A22F7C #A22F42
triadic
#A22F7C #7CA22F #2F7CA2
tetradic
#A22F7C #A28E2F #2FA255 #2F42A2
square
#A22F7C #A28E2F #2FA255 #2F42A2
split-complementary
#A22F7C #42A22F #2FA28E
monochromatic
#431333 #732158 #A22F7C #C9459D #D775B6

Accessibility & contrast

On white

6.49
#A22F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A22F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F7C
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F7C#FFFFFF#000000##FFFFFF
##A22F7C1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527E
Deuteranopia (green-blind)
#5E6579
Tritanopia (blue-blind)
#AD2F51
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22f7c;
/* rgb */ color: rgb(162, 47, 124);
/* oklch */ color: oklch(50.4% 0.171 343.9);
Tailwind
colors: {
  custom: {
    50: '#c171a2',
    500: '#a22f7c',
    950: '#000000',
  },
}
SCSS
$custom: #a22f7c;
$custom-light: #c171a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f7c",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 319.826,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50415,
    "c": 0.17051,
    "h": 343.9
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#A22F7C
secondary
#6EBF89
accent
#DE7B49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A22F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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