#F170C1#F170C1

#F170C1 is a light, vivid pink. Relative luminance 0.341; OKLCH L 72.3% C 0.182 H 344.1°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#F170C1
RGBrgb(241, 112, 193)
HSLhsl(322, 82%, 69%)
HSVhsv(322, 54%, 95%)
CMYKcmyk(0%, 53.5%, 19.9%, 5.5%)
CIE-LABlab(65.08, 58.67, -18.82)
CIE-LCHlch(65.08, 61.62, 342.21°)
OKLaboklab(72.27% 0.1751 -0.05)
OKLCHoklch(72.27% 0.182 344.1)
XYZxyz(51.6967, 34.1437, 54.3094)
Luminance0.3414 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170C1 #70F1A0
analogous
#E170F1 #F170C1 #F17081
triadic
#F170C1 #C1F170 #70C1F1
tetradic
#F170C1 #F1E170 #70F1A0 #7081F1
square
#F170C1 #F1E170 #70F1A0 #7081F1
split-complementary
#F170C1 #81F170 #70F1E1
monochromatic
#D2158C #EC38A9 #F170C1 #F6A8D9 #FCDFF1

Accessibility & contrast

On white

2.68
#F170C1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#F170C1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170C1
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170C1#FFFFFF#000000##000000
##F170C11.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A91C4
Deuteranopia (green-blind)
#9EA6BE
Tritanopia (blue-blind)
#FF7090
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f170c1;
/* rgb */ color: rgb(241, 112, 193);
/* oklch */ color: oklch(72.3% 0.182 344.1);
Tailwind
colors: {
  custom: {
    50: '#f89ed3',
    500: '#f170c1',
    950: '#000000',
  },
}
SCSS
$custom: #f170c1;
$custom-light: #f89ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#f170c1",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 193
  },
  "hsl": {
    "h": 322.326,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72267,
    "c": 0.18212,
    "h": 344.1
  },
  "luminance": 0.34139
}

Semantic roles & 50–950 ramp

primary
#F170C1
secondary
#CCF1DA
accent
#DF5707
background
#FFFAFC
surface
#FFF3F9
border
#D7CDD2
text
#180F14
muted
#867F82

Preview Lab

Preview with #F170C1

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

Preview Lab → · Contrast checker → · Palette generator →

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