#A22B7D#A22B7D

#A22B7D is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.176 H 343.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A22B7D
RGBrgb(162, 43, 125)
HSLhsl(319, 58%, 40%)
HSVhsv(319, 73%, 64%)
CMYKcmyk(0%, 73.5%, 22.8%, 36.5%)
CIE-LABlab(39.40, 55.94, -19.07)
CIE-LCHlch(39.40, 59.10, 341.18°)
OKLaboklab(50.09% 0.1684 -0.051)
OKLCHoklch(50.09% 0.176 343.1)
XYZxyz(19.4665, 10.8918, 20.4752)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B7D #2BA250
analogous
#8B2BA2 #A22B7D #A22B42
triadic
#A22B7D #7DA22B #2B7DA2
tetradic
#A22B7D #A28B2B #2BA250 #2B42A2
square
#A22B7D #A28B2B #2BA250 #2B42A2
split-complementary
#A22B7D #42A22B #2BA28B
monochromatic
#411132 #721E58 #A22B7D #CC3EA0 #D96FB8

Accessibility & contrast

On white

6.61
#A22B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A22B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B7D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B7D#FFFFFF#000000##FFFFFF
##A22B7D1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#AC2B50
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22b7d;
/* rgb */ color: rgb(162, 43, 125);
/* oklch */ color: oklch(50.1% 0.176 343.1);
Tailwind
colors: {
  custom: {
    50: '#c170a2',
    500: '#a22b7d',
    950: '#000000',
  },
}
SCSS
$custom: #a22b7d;
$custom-light: #c170a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b7d",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 318.655,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50086,
    "c": 0.176,
    "h": 343.1
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#A22B7D
secondary
#69C084
accent
#E17747
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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