#F172BA#F172BA

#F172BA is a light, vivid pink. Relative luminance 0.343; OKLCH L 72.3% C 0.175 H 347.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#F172BA
RGBrgb(241, 114, 186)
HSLhsl(326, 82%, 70%)
HSVhsv(326, 53%, 95%)
CMYKcmyk(0%, 52.7%, 22.8%, 5.5%)
CIE-LABlab(65.19, 56.77, -14.70)
CIE-LCHlch(65.19, 58.64, 345.48°)
OKLaboklab(72.27% 0.1705 -0.0386)
OKLCHoklch(72.27% 0.175 347.2)
XYZxyz(51.1574, 34.2850, 50.3682)
Luminance0.3428 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172BA #72F1A9
analogous
#E872F1 #F172BA #F1727B
triadic
#F172BA #BAF172 #72BAF1
tetradic
#F172BA #F1E872 #72F1A9 #727BF1
square
#F172BA #F1E872 #72F1A9 #727BF1
split-complementary
#F172BA #7BF172 #72F1E8
monochromatic
#D41581 #EB3A9F #F172BA #F7AAD5 #FCE1F0

Accessibility & contrast

On white

2.67
#F172BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#F172BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172BA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172BA#FFFFFF#000000##000000
##F172BA1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F91BC
Deuteranopia (green-blind)
#A1A6B7
Tritanopia (blue-blind)
#FF6F8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f172ba;
/* rgb */ color: rgb(241, 114, 186);
/* oklch */ color: oklch(72.3% 0.175 347.2);
Tailwind
colors: {
  custom: {
    50: '#f99fce',
    500: '#f172ba',
    950: '#000000',
  },
}
SCSS
$custom: #f172ba;
$custom-light: #f99fce;
$custom-dark: #000000;
JSON
{
  "hex": "#f172ba",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 186
  },
  "hsl": {
    "h": 325.984,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72271,
    "c": 0.1748,
    "h": 347.2
  },
  "luminance": 0.34281
}

Semantic roles & 50–950 ramp

primary
#F172BA
secondary
#CDF2DD
accent
#DE6407
background
#FFFAFC
surface
#FFF3F9
border
#D7CDD2
text
#180F13
muted
#867F82

Preview Lab

Preview with #F172BA

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

Preview Lab → · Contrast checker → · Palette generator →

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