#F170C8#F170C8

#F170C8 is a light, vivid pink. Relative luminance 0.345; OKLCH L 72.5% C 0.187 H 341.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#F170C8
RGBrgb(241, 112, 200)
HSLhsl(319, 82%, 69%)
HSVhsv(319, 54%, 95%)
CMYKcmyk(0%, 53.5%, 17%, 5.5%)
CIE-LABlab(65.33, 59.68, -22.39)
CIE-LCHlch(65.33, 63.74, 339.44°)
OKLaboklab(72.54% 0.1768 -0.0599)
OKLCHoklch(72.54% 0.187 341.3)
XYZxyz(52.4961, 34.4634, 58.5196)
Luminance0.3446 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170C8 #70F199
analogous
#DA70F1 #F170C8 #F17088
triadic
#F170C8 #C8F170 #70C8F1
tetradic
#F170C8 #F1DA70 #70F199 #7088F1
square
#F170C8 #F1DA70 #70F199 #7088F1
split-complementary
#F170C8 #88F170 #70F1DA
monochromatic
#D21596 #EC38B3 #F170C8 #F6A8DD #FCDFF3

Accessibility & contrast

On white

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

On black

7.89
#F170C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170C8
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170C8#FFFFFF#000000##000000
##F170C81.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7892CB
Deuteranopia (green-blind)
#9CA6C5
Tritanopia (blue-blind)
#FE7293
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f170c8;
/* rgb */ color: rgb(241, 112, 200);
/* oklch */ color: oklch(72.5% 0.187 341.3);
Tailwind
colors: {
  custom: {
    50: '#f89ed8',
    500: '#f170c8',
    950: '#000000',
  },
}
SCSS
$custom: #f170c8;
$custom-light: #f89ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#f170c8",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 319.07,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72538,
    "c": 0.18669,
    "h": 341.3
  },
  "luminance": 0.34459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F170C8

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

Preview Lab → · Contrast checker → · Palette generator →

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