#F17FC5#F17FC5

#F17FC5 is a light, vivid pink. Relative luminance 0.379; OKLCH L 74.5% C 0.161 H 344.0°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#F17FC5
RGBrgb(241, 127, 197)
HSLhsl(323, 80%, 72%)
HSVhsv(323, 47%, 95%)
CMYKcmyk(0%, 47.3%, 18.3%, 5.5%)
CIE-LABlab(67.96, 52.09, -16.71)
CIE-LCHlch(67.96, 54.70, 342.22°)
OKLaboklab(74.46% 0.1547 -0.0443)
OKLCHoklch(74.46% 0.161 344)
XYZxyz(53.9440, 37.9147, 57.2896)
Luminance0.3791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17FC5 #7FF1AB
analogous
#E47FF1 #F17FC5 #F17F8C
triadic
#F17FC5 #C5F17F #7FC5F1
tetradic
#F17FC5 #F1E47F #7FF1AB #7F8CF1
square
#F17FC5 #F1E47F #7FF1AB #7F8CF1
split-complementary
#F17FC5 #8CF17F #7FF1E4
monochromatic
#DD1891 #EB48AC #F17FC5 #F7B6DE #FCE3F3

Accessibility & contrast

On white

2.45
#F17FC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#F17FC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17FC5
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17FC5#FFFFFF#000000##000000
##F17FC51.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#879AC7
Deuteranopia (green-blind)
#A5ADC2
Tritanopia (blue-blind)
#FE7F99
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f17fc5;
/* rgb */ color: rgb(241, 127, 197);
/* oklch */ color: oklch(74.5% 0.161 344.0);
Tailwind
colors: {
  custom: {
    50: '#f8a7d6',
    500: '#f17fc5',
    950: '#000000',
  },
}
SCSS
$custom: #f17fc5;
$custom-light: #f8a7d6;
$custom-dark: #000000;
JSON
{
  "hex": "#f17fc5",
  "rgb": {
    "r": 241,
    "g": 127,
    "b": 197
  },
  "hsl": {
    "h": 323.158,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74464,
    "c": 0.16095,
    "h": 344
  },
  "luminance": 0.37911
}

Semantic roles & 50–950 ramp

primary
#F17FC5
secondary
#D7F4E2
accent
#DD5B09
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #F17FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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