#F172C7#F172C7

#F172C7 is a light, vivid pink. Relative luminance 0.349; OKLCH L 72.8% C 0.183 H 341.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#F172C7
RGBrgb(241, 114, 199)
HSLhsl(320, 82%, 70%)
HSVhsv(320, 53%, 95%)
CMYKcmyk(0%, 52.7%, 17.4%, 5.5%)
CIE-LABlab(65.64, 58.61, -21.35)
CIE-LCHlch(65.64, 62.37, 339.99°)
OKLaboklab(72.76% 0.1738 -0.057)
OKLCHoklch(72.76% 0.183 341.9)
XYZxyz(52.6027, 34.8631, 57.9805)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172C7 #72F19C
analogous
#DC72F1 #F172C7 #F17287
triadic
#F172C7 #C7F172 #72C7F1
tetradic
#F172C7 #F1DC72 #72F19C #7287F1
square
#F172C7 #F1DC72 #72F19C #7287F1
split-complementary
#F172C7 #87F172 #72F1DC
monochromatic
#D41595 #EB3AB1 #F172C7 #F7AADD #FCE1F3

Accessibility & contrast

On white

2.63
#F172C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#F172C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172C7
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172C7#FFFFFF#000000##000000
##F172C71.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93CA
Deuteranopia (green-blind)
#9DA7C4
Tritanopia (blue-blind)
#FE7394
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f172c7;
/* rgb */ color: rgb(241, 114, 199);
/* oklch */ color: oklch(72.8% 0.183 341.9);
Tailwind
colors: {
  custom: {
    50: '#f89fd8',
    500: '#f172c7',
    950: '#000000',
  },
}
SCSS
$custom: #f172c7;
$custom-light: #f89fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#f172c7",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 199
  },
  "hsl": {
    "h": 319.843,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72758,
    "c": 0.18293,
    "h": 341.9
  },
  "luminance": 0.34859
}

Semantic roles & 50–950 ramp

primary
#F172C7
secondary
#CDF2D9
accent
#DE4E07
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F172C7

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

Preview Lab → · Contrast checker → · Palette generator →

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