#F172CC#F172CC

#F172CC is a light, vivid pink. Relative luminance 0.351; OKLCH L 73.0% C 0.186 H 339.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#F172CC
RGBrgb(241, 114, 204)
HSLhsl(317, 82%, 70%)
HSVhsv(317, 53%, 95%)
CMYKcmyk(0%, 52.7%, 15.4%, 5.5%)
CIE-LABlab(65.83, 59.34, -23.88)
CIE-LCHlch(65.83, 63.97, 338.08°)
OKLaboklab(72.96% 0.175 -0.064)
OKLCHoklch(72.96% 0.186 339.9)
XYZxyz(53.1928, 35.0991, 61.0882)
Luminance0.3509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172CC #72F197
analogous
#D672F1 #F172CC #F1728D
triadic
#F172CC #CCF172 #72CCF1
tetradic
#F172CC #F1D672 #72F197 #728DF1
square
#F172CC #F1D672 #72F197 #728DF1
split-complementary
#F172CC #8DF172 #72F1D6
monochromatic
#D4159C #EB3AB8 #F172CC #F7AAE0 #FCE1F4

Accessibility & contrast

On white

2.62
#F172CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#F172CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172CC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172CC#FFFFFF#000000##000000
##F172CC1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CF
Deuteranopia (green-blind)
#9CA7C9
Tritanopia (blue-blind)
#FD7596
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f172cc;
/* rgb */ color: rgb(241, 114, 204);
/* oklch */ color: oklch(73.0% 0.186 339.9);
Tailwind
colors: {
  custom: {
    50: '#f89fdb',
    500: '#f172cc',
    950: '#000000',
  },
}
SCSS
$custom: #f172cc;
$custom-light: #f89fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#f172cc",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 317.48,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72955,
    "c": 0.18635,
    "h": 339.9
  },
  "luminance": 0.35095
}

Semantic roles & 50–950 ramp

primary
#F172CC
secondary
#CDF2D8
accent
#DE4607
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F172CC

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

Preview Lab → · Contrast checker → · Palette generator →

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