#A22F85#A22F85

#A22F85 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.176 H 339.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A22F85
RGBrgb(162, 47, 133)
HSLhsl(315, 55%, 41%)
HSVhsv(315, 71%, 64%)
CMYKcmyk(0%, 71%, 17.9%, 36.5%)
CIE-LABlab(40.26, 55.63, -22.67)
CIE-LCHlch(40.26, 60.07, 337.83°)
OKLaboklab(50.83% 0.1655 -0.0612)
OKLCHoklch(50.83% 0.176 339.7)
XYZxyz(20.1509, 11.4098, 23.3268)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F85 #2FA24C
analogous
#852FA2 #A22F85 #A22F4C
triadic
#A22F85 #85A22F #2F85A2
tetradic
#A22F85 #A2852F #2FA24C #2F4CA2
square
#A22F85 #A2852F #2FA24C #2F4CA2
split-complementary
#A22F85 #4CA22F #2FA285
monochromatic
#431337 #73215E #A22F85 #C945A8 #D775BE

Accessibility & contrast

On white

6.40
#A22F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A22F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F85
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F85#FFFFFF#000000##FFFFFF
##A22F851.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365387
Deuteranopia (green-blind)
#5B6582
Tritanopia (blue-blind)
#AB3356
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22f85;
/* rgb */ color: rgb(162, 47, 133);
/* oklch */ color: oklch(50.8% 0.176 339.7);
Tailwind
colors: {
  custom: {
    50: '#c172a8',
    500: '#a22f85',
    950: '#000000',
  },
}
SCSS
$custom: #a22f85;
$custom-light: #c172a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f85",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 315.13,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50831,
    "c": 0.17641,
    "h": 339.7
  },
  "luminance": 0.11408
}

Semantic roles & 50–950 ramp

primary
#A22F85
secondary
#6EBF82
accent
#DE6F49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22F85

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

Preview Lab → · Contrast checker → · Palette generator →

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