#A22387#A22387

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

Color values

HEX#A22387
RGBrgb(162, 35, 135)
HSLhsl(313, 64%, 39%)
HSVhsv(313, 78%, 64%)
CMYKcmyk(0%, 78.4%, 16.7%, 36.5%)
CIE-LABlab(38.96, 59.89, -25.93)
CIE-LCHlch(38.96, 65.26, 336.59°)
OKLaboklab(49.92% 0.1777 -0.0704)
OKLCHoklch(49.92% 0.191 338.4)
XYZxyz(19.8750, 10.6347, 23.9230)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22387 #23A23E
analogous
#7D23A2 #A22387 #A22347
triadic
#A22387 #87A223 #2387A2
tetradic
#A22387 #A27D23 #23A23E #2347A2
square
#A22387 #A27D23 #23A23E #2347A2
split-complementary
#A22387 #47A223 #23A27D
monochromatic
#3D0D33 #70185D #A22387 #D230B0 #DD62C3

Accessibility & contrast

On white

6.72
#A22387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A22387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22387
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22387#FFFFFF#000000##FFFFFF
##A223871.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F8A
Deuteranopia (green-blind)
#566384
Tritanopia (blue-blind)
#AB2A53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22387;
/* rgb */ color: rgb(162, 35, 135);
/* oklch */ color: oklch(49.9% 0.191 338.4);
Tailwind
colors: {
  custom: {
    50: '#c16daa',
    500: '#a22387',
    950: '#000000',
  },
}
SCSS
$custom: #a22387;
$custom-light: #c16daa;
$custom-dark: #000000;
JSON
{
  "hex": "#a22387",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 312.756,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49918,
    "c": 0.19112,
    "h": 338.4
  },
  "luminance": 0.10633
}

Semantic roles & 50–950 ramp

primary
#A22387
secondary
#5EC274
accent
#E76440
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22387

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

Preview Lab → · Contrast checker → · Palette generator →

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