#A22487#A22487

#A22487 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.190 H 338.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A22487
RGBrgb(162, 36, 135)
HSLhsl(313, 64%, 39%)
HSVhsv(313, 78%, 64%)
CMYKcmyk(0%, 77.8%, 16.7%, 36.5%)
CIE-LABlab(39.06, 59.59, -25.77)
CIE-LCHlch(39.06, 64.92, 336.62°)
OKLaboklab(49.99% 0.1768 -0.0699)
OKLCHoklch(49.99% 0.19 338.4)
XYZxyz(19.9048, 10.6943, 23.9329)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22487 #24A23F
analogous
#7E24A2 #A22487 #A22448
triadic
#A22487 #87A224 #2487A2
tetradic
#A22487 #A27E24 #24A23F #2448A2
square
#A22487 #A27E24 #24A23F #2448A2
split-complementary
#A22487 #48A224 #24A27E
monochromatic
#3E0E34 #70195D #A22487 #D132AF #DD64C3

Accessibility & contrast

On white

6.69
#A22487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A22487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22487
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22487#FFFFFF#000000##FFFFFF
##A224871.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22487;
/* rgb */ color: rgb(162, 36, 135);
/* oklch */ color: oklch(50.0% 0.190 338.4);
Tailwind
colors: {
  custom: {
    50: '#c16daa',
    500: '#a22487',
    950: '#000000',
  },
}
SCSS
$custom: #a22487;
$custom-light: #c16daa;
$custom-dark: #000000;
JSON
{
  "hex": "#a22487",
  "rgb": {
    "r": 162,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 312.857,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49992,
    "c": 0.19013,
    "h": 338.4
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#A22487
secondary
#60C275
accent
#E76541
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22487

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

Preview Lab → · Contrast checker → · Palette generator →

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