#A22B7F#A22B7F

#A22B7F is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.177 H 342.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A22B7F
RGBrgb(162, 43, 127)
HSLhsl(318, 58%, 40%)
HSVhsv(318, 73%, 64%)
CMYKcmyk(0%, 73.5%, 21.6%, 36.5%)
CIE-LABlab(39.48, 56.22, -20.17)
CIE-LCHlch(39.48, 59.73, 340.26°)
OKLaboklab(50.18% 0.1688 -0.0541)
OKLCHoklch(50.18% 0.177 342.2)
XYZxyz(19.5956, 10.9434, 21.1549)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B7F #2BA24E
analogous
#892BA2 #A22B7F #A22B43
triadic
#A22B7F #7FA22B #2B7FA2
tetradic
#A22B7F #A2892B #2BA24E #2B43A2
square
#A22B7F #A2892B #2BA24E #2B43A2
split-complementary
#A22B7F #43A22B #2BA289
monochromatic
#411133 #721E59 #A22B7F #CC3EA2 #D96FBA

Accessibility & contrast

On white

6.59
#A22B7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A22B7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B7F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B7F#FFFFFF#000000##FFFFFF
##A22B7F1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365181
Deuteranopia (green-blind)
#5B647C
Tritanopia (blue-blind)
#AC2C51
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22b7f;
/* rgb */ color: rgb(162, 43, 127);
/* oklch */ color: oklch(50.2% 0.177 342.2);
Tailwind
colors: {
  custom: {
    50: '#c170a4',
    500: '#a22b7f',
    950: '#000000',
  },
}
SCSS
$custom: #a22b7f;
$custom-light: #c170a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b7f",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 317.647,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50178,
    "c": 0.17726,
    "h": 342.2
  },
  "luminance": 0.10941
}

Semantic roles & 50–950 ramp

primary
#A22B7F
secondary
#69C083
accent
#E17447
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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