#A22870#A22870

#A22870 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.172 H 349.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A22870
RGBrgb(162, 40, 112)
HSLhsl(325, 60%, 40%)
HSVhsv(325, 75%, 64%)
CMYKcmyk(0%, 75.3%, 30.9%, 36.5%)
CIE-LABlab(38.50, 55.29, -12.34)
CIE-LCHlch(38.50, 56.65, 347.42°)
OKLaboklab(49.26% 0.1688 -0.0323)
OKLCHoklch(49.26% 0.172 349.2)
XYZxyz(18.5847, 10.3709, 16.3492)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22870 #28A25A
analogous
#9728A2 #A22870 #A22833
triadic
#A22870 #70A228 #2870A2
tetradic
#A22870 #A29728 #28A25A #2833A2
square
#A22870 #A29728 #28A25A #2833A2
split-complementary
#A22870 #33A228 #28A297
monochromatic
#40102C #711C4E #A22870 #CE3991 #DA6AAC

Accessibility & contrast

On white

6.83
#A22870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A22870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22870
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22870#FFFFFF#000000##FFFFFF
##A228701.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D72
Deuteranopia (green-blind)
#5F626D
Tritanopia (blue-blind)
#AE2148
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22870;
/* rgb */ color: rgb(162, 40, 112);
/* oklch */ color: oklch(49.3% 0.172 349.2);
Tailwind
colors: {
  custom: {
    50: '#c26e99',
    500: '#a22870',
    950: '#000000',
  },
}
SCSS
$custom: #a22870;
$custom-light: #c26e99;
$custom-dark: #000000;
JSON
{
  "hex": "#a22870",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 324.59,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49257,
    "c": 0.17185,
    "h": 349.2
  },
  "luminance": 0.10369
}

Semantic roles & 50–950 ramp

primary
#A22870
secondary
#65C18B
accent
#E48644
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A22870

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

Preview Lab → · Contrast checker → · Palette generator →

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