#A22874#A22874

#A22874 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.174 H 347.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A22874
RGBrgb(162, 40, 116)
HSLhsl(323, 60%, 40%)
HSVhsv(323, 75%, 64%)
CMYKcmyk(0%, 75.3%, 28.4%, 36.5%)
CIE-LABlab(38.66, 55.79, -14.60)
CIE-LCHlch(38.66, 57.67, 345.33°)
OKLaboklab(49.43% 0.1697 -0.0385)
OKLCHoklch(49.43% 0.174 347.2)
XYZxyz(18.8124, 10.4620, 17.5483)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22874 #28A256
analogous
#9328A2 #A22874 #A22837
triadic
#A22874 #74A228 #2874A2
tetradic
#A22874 #A29328 #28A256 #2837A2
square
#A22874 #A29328 #28A256 #2837A2
split-complementary
#A22874 #37A228 #28A293
monochromatic
#40102E #711C51 #A22874 #CE3996 #DA6AB0

Accessibility & contrast

On white

6.79
#A22874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22874
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22874#FFFFFF#000000##FFFFFF
##A228741.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394E76
Deuteranopia (green-blind)
#5E6371
Tritanopia (blue-blind)
#AE234B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22874;
/* rgb */ color: rgb(162, 40, 116);
/* oklch */ color: oklch(49.4% 0.174 347.2);
Tailwind
colors: {
  custom: {
    50: '#c26e9c',
    500: '#a22874',
    950: '#000000',
  },
}
SCSS
$custom: #a22874;
$custom-light: #c26e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a22874",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 322.623,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49425,
    "c": 0.17406,
    "h": 347.2
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A22874

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

Preview Lab → · Contrast checker → · Palette generator →

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