#A22287#A22287

#A22287 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.192 H 338.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A22287
RGBrgb(162, 34, 135)
HSLhsl(313, 65%, 38%)
HSVhsv(313, 79%, 64%)
CMYKcmyk(0%, 79%, 16.7%, 36.5%)
CIE-LABlab(38.86, 60.17, -26.08)
CIE-LCHlch(38.86, 65.58, 336.56°)
OKLaboklab(49.85% 0.1786 -0.0708)
OKLCHoklch(49.85% 0.192 338.4)
XYZxyz(19.8460, 10.5767, 23.9133)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22287 #22A23D
analogous
#7D22A2 #A22287 #A22247
triadic
#A22287 #87A222 #2287A2
tetradic
#A22287 #A27D22 #22A23D #2247A2
square
#A22287 #A27D22 #22A23D #2247A2
split-complementary
#A22287 #47A222 #22A27D
monochromatic
#3D0D33 #6F175D #A22287 #D32EB0 #DE61C3

Accessibility & contrast

On white

6.74
#A22287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A22287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22287
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22287#FFFFFF#000000##FFFFFF
##A222871.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F8A
Deuteranopia (green-blind)
#556284
Tritanopia (blue-blind)
#AB2953
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22287;
/* rgb */ color: rgb(162, 34, 135);
/* oklch */ color: oklch(49.8% 0.192 338.4);
Tailwind
colors: {
  custom: {
    50: '#c16caa',
    500: '#a22287',
    950: '#000000',
  },
}
SCSS
$custom: #a22287;
$custom-light: #c16caa;
$custom-dark: #000000;
JSON
{
  "hex": "#a22287",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 312.656,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49846,
    "c": 0.19208,
    "h": 338.4
  },
  "luminance": 0.10575
}

Semantic roles & 50–950 ramp

primary
#A22287
secondary
#5DC373
accent
#E86340
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22287

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

Preview Lab → · Contrast checker → · Palette generator →

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