#F170C7#F170C7

#F170C7 is a light, vivid pink. Relative luminance 0.344; OKLCH L 72.5% C 0.186 H 341.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#F170C7
RGBrgb(241, 112, 199)
HSLhsl(320, 82%, 69%)
HSVhsv(320, 54%, 95%)
CMYKcmyk(0%, 53.5%, 17.4%, 5.5%)
CIE-LABlab(65.29, 59.53, -21.88)
CIE-LCHlch(65.29, 63.43, 339.82°)
OKLaboklab(72.5% 0.1766 -0.0584)
OKLCHoklch(72.5% 0.186 341.7)
XYZxyz(52.3796, 34.4168, 57.9061)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170C7 #70F19A
analogous
#DB70F1 #F170C7 #F17087
triadic
#F170C7 #C7F170 #70C7F1
tetradic
#F170C7 #F1DB70 #70F19A #7087F1
square
#F170C7 #F1DB70 #70F19A #7087F1
split-complementary
#F170C7 #87F170 #70F1DB
monochromatic
#D21594 #EC38B1 #F170C7 #F6A8DD #FCDFF3

Accessibility & contrast

On white

2.66
#F170C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#F170C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170C7
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170C7#FFFFFF#000000##000000
##F170C71.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7891CA
Deuteranopia (green-blind)
#9CA6C4
Tritanopia (blue-blind)
#FE7193
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f170c7;
/* rgb */ color: rgb(241, 112, 199);
/* oklch */ color: oklch(72.5% 0.186 341.7);
Tailwind
colors: {
  custom: {
    50: '#f89ed8',
    500: '#f170c7',
    950: '#000000',
  },
}
SCSS
$custom: #f170c7;
$custom-light: #f89ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#f170c7",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 199
  },
  "hsl": {
    "h": 319.535,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72499,
    "c": 0.18602,
    "h": 341.7
  },
  "luminance": 0.34413
}

Semantic roles & 50–950 ramp

primary
#F170C7
secondary
#CCF1D8
accent
#DF4D07
background
#FFFAFD
surface
#FFF3FA
border
#D7CDD3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F170C7

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

Preview Lab → · Contrast checker → · Palette generator →

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