#A22873#A22873

#A22873 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.173 H 347.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A22873
RGBrgb(162, 40, 115)
HSLhsl(323, 60%, 40%)
HSVhsv(323, 75%, 64%)
CMYKcmyk(0%, 75.3%, 29%, 36.5%)
CIE-LABlab(38.62, 55.66, -14.04)
CIE-LCHlch(38.62, 57.41, 345.85°)
OKLaboklab(49.38% 0.1695 -0.037)
OKLCHoklch(49.38% 0.174 347.7)
XYZxyz(18.7545, 10.4389, 17.2436)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22873 #28A257
analogous
#9428A2 #A22873 #A22836
triadic
#A22873 #73A228 #2873A2
tetradic
#A22873 #A29428 #28A257 #2836A2
square
#A22873 #A29428 #28A257 #2836A2
split-complementary
#A22873 #36A228 #28A294
monochromatic
#40102D #711C50 #A22873 #CE3995 #DA6AAF

Accessibility & contrast

On white

6.80
#A22873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A22873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22873
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22873#FFFFFF#000000##FFFFFF
##A228731.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D75
Deuteranopia (green-blind)
#5E6370
Tritanopia (blue-blind)
#AE234A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22873;
/* rgb */ color: rgb(162, 40, 115);
/* oklch */ color: oklch(49.4% 0.173 347.7);
Tailwind
colors: {
  custom: {
    50: '#c26e9b',
    500: '#a22873',
    950: '#000000',
  },
}
SCSS
$custom: #a22873;
$custom-light: #c26e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#a22873",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 323.115,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49383,
    "c": 0.1735,
    "h": 347.7
  },
  "luminance": 0.10437
}

Semantic roles & 50–950 ramp

primary
#A22873
secondary
#65C188
accent
#E48244
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22873

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

Preview Lab → · Contrast checker → · Palette generator →

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