#F17FC2#F17FC2

#F17FC2 is a light, vivid pink. Relative luminance 0.378; OKLCH L 74.4% C 0.159 H 345.4°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#F17FC2
RGBrgb(241, 127, 194)
HSLhsl(325, 80%, 72%)
HSVhsv(325, 47%, 95%)
CMYKcmyk(0%, 47.3%, 19.5%, 5.5%)
CIE-LABlab(67.86, 51.65, -15.18)
CIE-LCHlch(67.86, 53.83, 343.62°)
OKLaboklab(74.36% 0.1539 -0.0401)
OKLCHoklch(74.36% 0.159 345.4)
XYZxyz(53.6037, 37.7786, 55.4972)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17FC2 #7FF1AE
analogous
#E77FF1 #F17FC2 #F17F89
triadic
#F17FC2 #C2F17F #7FC2F1
tetradic
#F17FC2 #F1E77F #7FF1AE #7F89F1
square
#F17FC2 #F1E77F #7FF1AE #7F89F1
split-complementary
#F17FC2 #89F17F #7FF1E7
monochromatic
#DD188C #EB48A8 #F17FC2 #F7B6DC #FCE3F2

Accessibility & contrast

On white

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

On black

8.55
#F17FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17FC2
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17FC2#FFFFFF#000000##000000
##F17FC21.002.458.558.55
#FFFFFF2.451.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#889AC4
Deuteranopia (green-blind)
#A6ACBF
Tritanopia (blue-blind)
#FE7E98
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f17fc2;
/* rgb */ color: rgb(241, 127, 194);
/* oklch */ color: oklch(74.4% 0.159 345.4);
Tailwind
colors: {
  custom: {
    50: '#f8a7d4',
    500: '#f17fc2',
    950: '#000000',
  },
}
SCSS
$custom: #f17fc2;
$custom-light: #f8a7d4;
$custom-dark: #000000;
JSON
{
  "hex": "#f17fc2",
  "rgb": {
    "r": 241,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 324.737,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74355,
    "c": 0.15904,
    "h": 345.4
  },
  "luminance": 0.37775
}

Semantic roles & 50–950 ramp

primary
#F17FC2
secondary
#D7F4E3
accent
#DD6009
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #F17FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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