#F172BB#F172BB

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

Color values

HEX#F172BB
RGBrgb(241, 114, 187)
HSLhsl(326, 82%, 70%)
HSVhsv(326, 53%, 95%)
CMYKcmyk(0%, 52.7%, 22.4%, 5.5%)
CIE-LABlab(65.22, 56.91, -15.21)
CIE-LCHlch(65.22, 58.90, 345.03°)
OKLaboklab(72.31% 0.1708 -0.04)
OKLCHoklch(72.31% 0.175 346.8)
XYZxyz(51.2640, 34.3276, 50.9300)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172BB #72F1A8
analogous
#E872F1 #F172BB #F1727C
triadic
#F172BB #BBF172 #72BBF1
tetradic
#F172BB #F1E872 #72F1A8 #727CF1
square
#F172BB #F1E872 #72F1A8 #727CF1
split-complementary
#F172BB #7CF172 #72F1E8
monochromatic
#D41583 #EB3AA0 #F172BB #F7AAD6 #FCE1F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F172BB#FFFFFF#000000##000000
##F172BB1.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)
#7E91BD
Deuteranopia (green-blind)
#A1A6B8
Tritanopia (blue-blind)
#FF708E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f172bb;
/* rgb */ color: rgb(241, 114, 187);
/* oklch */ color: oklch(72.3% 0.175 346.8);
Tailwind
colors: {
  custom: {
    50: '#f89fcf',
    500: '#f172bb',
    950: '#000000',
  },
}
SCSS
$custom: #f172bb;
$custom-light: #f89fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#f172bb",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 325.512,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72308,
    "c": 0.17538,
    "h": 346.8
  },
  "luminance": 0.34323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F172BB

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

Preview Lab → · Contrast checker → · Palette generator →

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