#FF22AF#FF22AF

#FF22AF is a light, highly saturated pink. Relative luminance 0.255; OKLCH L 67.0% C 0.267 H 348.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#FF22AF
RGBrgb(255, 34, 175)
HSLhsl(322, 100%, 57%)
HSVhsv(322, 87%, 100%)
CMYKcmyk(0%, 86.7%, 31.4%, 0%)
CIE-LABlab(57.56, 85.33, -19.74)
CIE-LCHlch(57.56, 87.59, 346.97°)
OKLaboklab(66.97% 0.2617 -0.0519)
OKLCHoklch(66.97% 0.267 348.8)
XYZxyz(49.5528, 25.5053, 42.8627)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF22AF #22FF72
analogous
#E022FF #FF22AF #FF2241
triadic
#FF22AF #AFFF22 #22AFFF
tetradic
#FF22AF #FFE022 #22FF72 #2241FF
square
#FF22AF #FFE022 #22FF72 #2241FF
split-complementary
#FF22AF #41FF22 #22FFE0
monochromatic
#A7006A #E40091 #FF22AF #FF5FC5 #FF9CDB

Accessibility & contrast

On white

3.44
#FF22AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#FF22AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF22AF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF22AF#FFFFFF#000000##000000
##FF22AF1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5172B2
Deuteranopia (green-blind)
#9197AA
Tritanopia (blue-blind)
#FF006B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ff22af;
/* rgb */ color: rgb(255, 34, 175);
/* oklch */ color: oklch(67.0% 0.267 348.8);
Tailwind
colors: {
  custom: {
    50: '#ff7dc7',
    500: '#ff22af',
    950: '#000000',
  },
}
SCSS
$custom: #ff22af;
$custom-light: #ff7dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#ff22af",
  "rgb": {
    "r": 255,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 321.719,
    "s": 100,
    "l": 56.667
  },
  "oklch": {
    "l": 0.66971,
    "c": 0.26677,
    "h": 348.8
  },
  "luminance": 0.25499
}

Semantic roles & 50–950 ramp

primary
#FF22AF
secondary
#91ECB2
accent
#FF7629
background
#FFF8FC
surface
#FFF0F8
border
#D7CBD1
text
#190C13
muted
#877D82

Preview Lab

Preview with #FF22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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