#A22B8D#A22B8D

#A22B8D is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.187 H 336.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A22B8D
RGBrgb(162, 43, 141)
HSLhsl(311, 58%, 40%)
HSVhsv(311, 73%, 64%)
CMYKcmyk(0%, 73.5%, 13%, 36.5%)
CIE-LABlab(40.14, 58.23, -27.76)
CIE-LCHlch(40.14, 64.51, 334.51°)
OKLaboklab(50.86% 0.1708 -0.0757)
OKLCHoklch(50.86% 0.187 336.1)
XYZxyz(20.5722, 11.3341, 26.2984)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B8D #2BA240
analogous
#7B2BA2 #A22B8D #A22B52
triadic
#A22B8D #8DA22B #2B8DA2
tetradic
#A22B8D #A27B2B #2BA240 #2B52A2
square
#A22B8D #A27B2B #2BA240 #2B52A2
split-complementary
#A22B8D #52A22B #2BA27B
monochromatic
#411139 #721E63 #A22B8D #CC3EB3 #D96FC6

Accessibility & contrast

On white

6.43
#A22B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A22B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B8D
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B8D#FFFFFF#000000##FFFFFF
##A22B8D1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5390
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#AA3359
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22b8d;
/* rgb */ color: rgb(162, 43, 141);
/* oklch */ color: oklch(50.9% 0.187 336.1);
Tailwind
colors: {
  custom: {
    50: '#c170ae',
    500: '#a22b8d',
    950: '#000000',
  },
}
SCSS
$custom: #a22b8d;
$custom-light: #c170ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b8d",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 310.588,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50863,
    "c": 0.18677,
    "h": 336.1
  },
  "luminance": 0.11332
}

Semantic roles & 50–950 ramp

primary
#A22B8D
secondary
#69C078
accent
#E16247
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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