#F172AC#F172AC

#F172AC is a light, vivid pink. Relative luminance 0.337; OKLCH L 71.8% C 0.167 H 353.5°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#F172AC
RGBrgb(241, 114, 172)
HSLhsl(333, 82%, 70%)
HSVhsv(333, 53%, 95%)
CMYKcmyk(0%, 52.7%, 28.6%, 5.5%)
CIE-LABlab(64.74, 54.92, -7.43)
CIE-LCHlch(64.74, 55.42, 352.30°)
OKLaboklab(71.79% 0.1664 -0.019)
OKLCHoklch(71.79% 0.167 353.5)
XYZxyz(49.7413, 33.7185, 42.9104)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172AC #72F1B7
analogous
#F172EC #F172AC #F17872
triadic
#F172AC #ACF172 #72ACF1
tetradic
#F172AC #ECF172 #72F1B7 #7872F1
square
#F172AC #ECF172 #72F1B7 #7872F1
split-complementary
#F172AC #72F178 #72ECF1
monochromatic
#D4156C #EB3A8B #F172AC #F7AACD #FCE1EE

Accessibility & contrast

On white

2.71
#F172AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#F172AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172AC
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172AC#FFFFFF#000000##000000
##F172AC1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#838FAE
Deuteranopia (green-blind)
#A5A6A9
Tritanopia (blue-blind)
#FF6C88
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f172ac;
/* rgb */ color: rgb(241, 114, 172);
/* oklch */ color: oklch(71.8% 0.167 353.5);
Tailwind
colors: {
  custom: {
    50: '#f99fc4',
    500: '#f172ac',
    950: '#000000',
  },
}
SCSS
$custom: #f172ac;
$custom-light: #f99fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#f172ac",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 172
  },
  "hsl": {
    "h": 332.598,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71788,
    "c": 0.16748,
    "h": 353.5
  },
  "luminance": 0.33714
}

Semantic roles & 50–950 ramp

primary
#F172AC
secondary
#CDF2E1
accent
#DE7C07
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F12
muted
#867F81

Preview Lab

Preview with #F172AC

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

Preview Lab → · Contrast checker → · Palette generator →

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