#F170C4#F170C4

#F170C4 is a light, vivid pink. Relative luminance 0.343; OKLCH L 72.4% C 0.184 H 342.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#F170C4
RGBrgb(241, 112, 196)
HSLhsl(321, 82%, 69%)
HSVhsv(321, 54%, 95%)
CMYKcmyk(0%, 53.5%, 18.7%, 5.5%)
CIE-LABlab(65.18, 59.10, -20.36)
CIE-LCHlch(65.18, 62.51, 341.00°)
OKLaboklab(72.38% 0.1759 -0.0542)
OKLCHoklch(72.38% 0.184 342.9)
XYZxyz(52.0347, 34.2789, 56.0898)
Luminance0.3427 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170C4 #70F19D
analogous
#DE70F1 #F170C4 #F17084
triadic
#F170C4 #C4F170 #70C4F1
tetradic
#F170C4 #F1DE70 #70F19D #7084F1
square
#F170C4 #F1DE70 #70F19D #7084F1
split-complementary
#F170C4 #84F170 #70F1DE
monochromatic
#D21590 #EC38AD #F170C4 #F6A8DB #FCDFF2

Accessibility & contrast

On white

2.67
#F170C4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#F170C4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170C4
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170C4#FFFFFF#000000##000000
##F170C41.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7991C7
Deuteranopia (green-blind)
#9DA6C1
Tritanopia (blue-blind)
#FE7091
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f170c4;
/* rgb */ color: rgb(241, 112, 196);
/* oklch */ color: oklch(72.4% 0.184 342.9);
Tailwind
colors: {
  custom: {
    50: '#f89ed6',
    500: '#f170c4',
    950: '#000000',
  },
}
SCSS
$custom: #f170c4;
$custom-light: #f89ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#f170c4",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 196
  },
  "hsl": {
    "h": 320.93,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72382,
    "c": 0.18404,
    "h": 342.9
  },
  "luminance": 0.34275
}

Semantic roles & 50–950 ramp

primary
#F170C4
secondary
#CCF1D9
accent
#DF5207
background
#FFFAFD
surface
#FFF3FA
border
#D7CDD3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F170C4

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

Preview Lab → · Contrast checker → · Palette generator →

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