#F170C2#F170C2

#F170C2 is a light, vivid pink. Relative luminance 0.342; OKLCH L 72.3% C 0.183 H 343.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#F170C2
RGBrgb(241, 112, 194)
HSLhsl(322, 82%, 69%)
HSVhsv(322, 54%, 95%)
CMYKcmyk(0%, 53.5%, 19.5%, 5.5%)
CIE-LABlab(65.11, 58.82, -19.34)
CIE-LCHlch(65.11, 61.91, 341.80°)
OKLaboklab(72.3% 0.1754 -0.0514)
OKLCHoklch(72.3% 0.183 343.7)
XYZxyz(51.8086, 34.1884, 54.8989)
Luminance0.3418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170C2 #70F19F
analogous
#DF70F1 #F170C2 #F17082
triadic
#F170C2 #C2F170 #70C2F1
tetradic
#F170C2 #F1DF70 #70F19F #7082F1
square
#F170C2 #F1DF70 #70F19F #7082F1
split-complementary
#F170C2 #82F170 #70F1DF
monochromatic
#D2158D #EC38AA #F170C2 #F6A8DA #FCDFF2

Accessibility & contrast

On white

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

On black

7.84
#F170C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170C2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170C2#FFFFFF#000000##000000
##F170C21.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A91C5
Deuteranopia (green-blind)
#9EA6BF
Tritanopia (blue-blind)
#FE7090
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f170c2;
/* rgb */ color: rgb(241, 112, 194);
/* oklch */ color: oklch(72.3% 0.183 343.7);
Tailwind
colors: {
  custom: {
    50: '#f89ed4',
    500: '#f170c2',
    950: '#000000',
  },
}
SCSS
$custom: #f170c2;
$custom-light: #f89ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#f170c2",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 194
  },
  "hsl": {
    "h": 321.86,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72305,
    "c": 0.18276,
    "h": 343.7
  },
  "luminance": 0.34184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F170C2

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

Preview Lab → · Contrast checker → · Palette generator →

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