#F172CD#F172CD

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

Color values

HEX#F172CD
RGBrgb(241, 114, 205)
HSLhsl(317, 82%, 70%)
HSVhsv(317, 53%, 95%)
CMYKcmyk(0%, 52.7%, 14.9%, 5.5%)
CIE-LABlab(65.86, 59.49, -24.38)
CIE-LCHlch(65.86, 64.29, 337.72°)
OKLaboklab(73% 0.1752 -0.0654)
OKLCHoklch(73% 0.187 339.5)
XYZxyz(53.3131, 35.1473, 61.7219)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172CD #72F196
analogous
#D672F1 #F172CD #F1728E
triadic
#F172CD #CDF172 #72CDF1
tetradic
#F172CD #F1D672 #72F196 #728EF1
square
#F172CD #F1D672 #72F196 #728EF1
split-complementary
#F172CD #8EF172 #72F1D6
monochromatic
#D4159E #EB3AB9 #F172CD #F7AAE1 #FCE1F4

Accessibility & contrast

On white

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

On black

8.03
#F172CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172CD
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172CD#FFFFFF#000000##000000
##F172CD1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793D0
Deuteranopia (green-blind)
#9BA7CA
Tritanopia (blue-blind)
#FD7596
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f172cd;
/* rgb */ color: rgb(241, 114, 205);
/* oklch */ color: oklch(73.0% 0.187 339.5);
Tailwind
colors: {
  custom: {
    50: '#f89fdc',
    500: '#f172cd',
    950: '#000000',
  },
}
SCSS
$custom: #f172cd;
$custom-light: #f89fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#f172cd",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 317.008,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72995,
    "c": 0.18705,
    "h": 339.5
  },
  "luminance": 0.35143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F172CD

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

Preview Lab → · Contrast checker → · Palette generator →

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