#A22678#A22678

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

Color values

HEX#A22678
RGBrgb(162, 38, 120)
HSLhsl(320, 62%, 39%)
HSVhsv(320, 77%, 64%)
CMYKcmyk(0%, 76.5%, 25.9%, 36.5%)
CIE-LABlab(38.60, 56.95, -17.19)
CIE-LCHlch(38.60, 59.49, 343.20°)
OKLaboklab(49.43% 0.1726 -0.0457)
OKLCHoklch(49.43% 0.179 345.2)
XYZxyz(18.9844, 10.4257, 18.7783)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22678 #26A250
analogous
#8E26A2 #A22678 #A2263A
triadic
#A22678 #78A226 #2678A2
tetradic
#A22678 #A28E26 #26A250 #263AA2
square
#A22678 #A28E26 #26A250 #263AA2
split-complementary
#A22678 #3AA226 #26A28E
monochromatic
#3F0F2F #701A53 #A22678 #D0359B #DB67B4

Accessibility & contrast

On white

6.81
#A22678 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A22678 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22678
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22678#FFFFFF#000000##FFFFFF
##A226781.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7A
Deuteranopia (green-blind)
#5C6275
Tritanopia (blue-blind)
#AD244C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22678;
/* rgb */ color: rgb(162, 38, 120);
/* oklch */ color: oklch(49.4% 0.179 345.2);
Tailwind
colors: {
  custom: {
    50: '#c26d9f',
    500: '#a22678',
    950: '#000000',
  },
}
SCSS
$custom: #a22678;
$custom-light: #c26d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a22678",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 120
  },
  "hsl": {
    "h": 320.323,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49434,
    "c": 0.17856,
    "h": 345.2
  },
  "luminance": 0.10424
}

Semantic roles & 50–950 ramp

primary
#A22678
secondary
#63C183
accent
#E57A43
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22678

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

Preview Lab → · Contrast checker → · Palette generator →

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