#A22F78#A22F78

#A22F78 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.168 H 345.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A22F78
RGBrgb(162, 47, 120)
HSLhsl(322, 55%, 41%)
HSVhsv(322, 71%, 64%)
CMYKcmyk(0%, 71%, 25.9%, 36.5%)
CIE-LABlab(39.70, 53.83, -15.50)
CIE-LCHlch(39.70, 56.01, 343.94°)
OKLaboklab(50.24% 0.163 -0.0411)
OKLCHoklch(50.24% 0.168 345.8)
XYZxyz(19.3078, 11.0725, 18.8860)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F78 #2FA259
analogous
#922FA2 #A22F78 #A22F3E
triadic
#A22F78 #78A22F #2F78A2
tetradic
#A22F78 #A2922F #2FA259 #2F3EA2
square
#A22F78 #A2922F #2FA259 #2F3EA2
split-complementary
#A22F78 #3EA22F #2FA292
monochromatic
#431332 #732155 #A22F78 #C94599 #D775B3

Accessibility & contrast

On white

6.53
#A22F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A22F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F78
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F78#FFFFFF#000000##FFFFFF
##A22F781.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D517A
Deuteranopia (green-blind)
#5F6575
Tritanopia (blue-blind)
#AD2D4F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22f78;
/* rgb */ color: rgb(162, 47, 120);
/* oklch */ color: oklch(50.2% 0.168 345.8);
Tailwind
colors: {
  custom: {
    50: '#c1719f',
    500: '#a22f78',
    950: '#000000',
  },
}
SCSS
$custom: #a22f78;
$custom-light: #c1719f;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f78",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 321.913,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.16806,
    "h": 345.8
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#A22F78
secondary
#6EBF8C
accent
#DE8049
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22F78

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

Preview Lab → · Contrast checker → · Palette generator →

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