#A22887#A22887

#A22887 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.186 H 338.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A22887
RGBrgb(162, 40, 135)
HSLhsl(313, 60%, 40%)
HSVhsv(313, 75%, 64%)
CMYKcmyk(0%, 75.3%, 16.7%, 36.5%)
CIE-LABlab(39.50, 58.35, -25.09)
CIE-LCHlch(39.50, 63.51, 336.73°)
OKLaboklab(50.31% 0.1731 -0.068)
OKLCHoklch(50.31% 0.186 338.5)
XYZxyz(20.0327, 10.9502, 23.9755)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22887 #28A243
analogous
#8028A2 #A22887 #A2284A
triadic
#A22887 #87A228 #2887A2
tetradic
#A22887 #A28028 #28A243 #284AA2
square
#A22887 #A28028 #28A243 #284AA2
split-complementary
#A22887 #4AA228 #28A280
monochromatic
#401035 #711C5E #A22887 #CE39AD #DA6AC1

Accessibility & contrast

On white

6.58
#A22887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22887
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22887#FFFFFF#000000##FFFFFF
##A228871.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E518A
Deuteranopia (green-blind)
#576484
Tritanopia (blue-blind)
#AB2E55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22887;
/* rgb */ color: rgb(162, 40, 135);
/* oklch */ color: oklch(50.3% 0.186 338.5);
Tailwind
colors: {
  custom: {
    50: '#c16faa',
    500: '#a22887',
    950: '#000000',
  },
}
SCSS
$custom: #a22887;
$custom-light: #c16faa;
$custom-dark: #000000;
JSON
{
  "hex": "#a22887",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 313.279,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50306,
    "c": 0.18594,
    "h": 338.5
  },
  "luminance": 0.10948
}

Semantic roles & 50–950 ramp

primary
#A22887
secondary
#65C179
accent
#E46844
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22887

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

Preview Lab → · Contrast checker → · Palette generator →

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