#A22875#A22875

#A22875 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.175 H 346.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A22875
RGBrgb(162, 40, 117)
HSLhsl(322, 60%, 40%)
HSVhsv(322, 75%, 64%)
CMYKcmyk(0%, 75.3%, 27.8%, 36.5%)
CIE-LABlab(38.70, 55.91, -15.16)
CIE-LCHlch(38.70, 57.93, 344.83°)
OKLaboklab(49.47% 0.17 -0.0401)
OKLCHoklch(49.47% 0.175 346.7)
XYZxyz(18.8708, 10.4854, 17.8563)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22875 #28A255
analogous
#9228A2 #A22875 #A22838
triadic
#A22875 #75A228 #2875A2
tetradic
#A22875 #A29228 #28A255 #2838A2
square
#A22875 #A29228 #28A255 #2838A2
split-complementary
#A22875 #38A228 #28A292
monochromatic
#40102E #711C52 #A22875 #CE3997 #DA6AB1

Accessibility & contrast

On white

6.78
#A22875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A22875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22875
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22875#FFFFFF#000000##FFFFFF
##A228751.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394E77
Deuteranopia (green-blind)
#5D6372
Tritanopia (blue-blind)
#AD244B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22875;
/* rgb */ color: rgb(162, 40, 117);
/* oklch */ color: oklch(49.5% 0.175 346.7);
Tailwind
colors: {
  custom: {
    50: '#c26e9c',
    500: '#a22875',
    950: '#000000',
  },
}
SCSS
$custom: #a22875;
$custom-light: #c26e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a22875",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 322.131,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.17463,
    "h": 346.7
  },
  "luminance": 0.10483
}

Semantic roles & 50–950 ramp

primary
#A22875
secondary
#65C187
accent
#E47F44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22875

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

Preview Lab → · Contrast checker → · Palette generator →

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