#A22785#A22785

#A22785 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.186 H 339.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A22785
RGBrgb(162, 39, 133)
HSLhsl(314, 61%, 39%)
HSVhsv(314, 76%, 64%)
CMYKcmyk(0%, 75.9%, 17.9%, 36.5%)
CIE-LABlab(39.29, 58.39, -24.18)
CIE-LCHlch(39.29, 63.19, 337.50°)
OKLaboklab(50.13% 0.1738 -0.0654)
OKLCHoklch(50.13% 0.186 339.4)
XYZxyz(19.8600, 10.8278, 23.2298)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22785 #27A244
analogous
#8227A2 #A22785 #A22748
triadic
#A22785 #85A227 #2785A2
tetradic
#A22785 #A28227 #27A244 #2748A2
square
#A22785 #A28227 #27A244 #2748A2
split-complementary
#A22785 #48A227 #27A282
monochromatic
#3F0F34 #711B5D #A22785 #CF37AB #DB69C0

Accessibility & contrast

On white

6.63
#A22785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A22785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22785
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22785#FFFFFF#000000##FFFFFF
##A227851.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5088
Deuteranopia (green-blind)
#586382
Tritanopia (blue-blind)
#AC2C53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22785;
/* rgb */ color: rgb(162, 39, 133);
/* oklch */ color: oklch(50.1% 0.186 339.4);
Tailwind
colors: {
  custom: {
    50: '#c16ea8',
    500: '#a22785',
    950: '#000000',
  },
}
SCSS
$custom: #a22785;
$custom-light: #c16ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#a22785",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 314.146,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50125,
    "c": 0.18568,
    "h": 339.4
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

primary
#A22785
secondary
#64C17A
accent
#E46943
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22785

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

Preview Lab → · Contrast checker → · Palette generator →

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