#F170C5#F170C5

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

Color values

HEX#F170C5
RGBrgb(241, 112, 197)
HSLhsl(320, 82%, 69%)
HSVhsv(320, 54%, 95%)
CMYKcmyk(0%, 53.5%, 18.3%, 5.5%)
CIE-LABlab(65.22, 59.25, -20.86)
CIE-LCHlch(65.22, 62.81, 340.60°)
OKLaboklab(72.42% 0.1761 -0.0556)
OKLCHoklch(72.42% 0.185 342.5)
XYZxyz(52.1489, 34.3246, 56.6912)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170C5 #70F19C
analogous
#DD70F1 #F170C5 #F17085
triadic
#F170C5 #C5F170 #70C5F1
tetradic
#F170C5 #F1DD70 #70F19C #7085F1
square
#F170C5 #F1DD70 #70F19C #7085F1
split-complementary
#F170C5 #85F170 #70F1DD
monochromatic
#D21591 #EC38AE #F170C5 #F6A8DC #FCDFF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F170C5#FFFFFF#000000##000000
##F170C51.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)
#7991C8
Deuteranopia (green-blind)
#9DA6C2
Tritanopia (blue-blind)
#FE7192
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f170c5;
/* rgb */ color: rgb(241, 112, 197);
/* oklch */ color: oklch(72.4% 0.185 342.5);
Tailwind
colors: {
  custom: {
    50: '#f89ed6',
    500: '#f170c5',
    950: '#000000',
  },
}
SCSS
$custom: #f170c5;
$custom-light: #f89ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#f170c5",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 197
  },
  "hsl": {
    "h": 320.465,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72421,
    "c": 0.18469,
    "h": 342.5
  },
  "luminance": 0.3432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F170C5

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

Preview Lab → · Contrast checker → · Palette generator →

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