#F170D6#F170D6

#F170D6 is a light, vivid pink. Relative luminance 0.351; OKLCH L 73.1% C 0.197 H 336.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#F170D6
RGBrgb(241, 112, 214)
HSLhsl(313, 82%, 69%)
HSVhsv(313, 54%, 95%)
CMYKcmyk(0%, 53.5%, 11.2%, 5.5%)
CIE-LABlab(65.86, 61.79, -29.42)
CIE-LCHlch(65.86, 68.43, 334.54°)
OKLaboklab(73.11% 0.1798 -0.0796)
OKLCHoklch(73.11% 0.197 336.1)
XYZxyz(54.2078, 35.1481, 67.5345)
Luminance0.3514 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170D6 #70F18B
analogous
#CC70F1 #F170D6 #F17096
triadic
#F170D6 #D6F170 #70D6F1
tetradic
#F170D6 #F1CC70 #70F18B #7096F1
square
#F170D6 #F1CC70 #70F18B #7096F1
split-complementary
#F170D6 #96F170 #70F1CC
monochromatic
#D215AA #EC38C6 #F170D6 #F6A8E6 #FCDFF6

Accessibility & contrast

On white

2.62
#F170D6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#F170D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170D6
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170D6#FFFFFF#000000##000000
##F170D61.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7294D9
Deuteranopia (green-blind)
#97A7D3
Tritanopia (blue-blind)
#FC7699
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f170d6;
/* rgb */ color: rgb(241, 112, 214);
/* oklch */ color: oklch(73.1% 0.197 336.1);
Tailwind
colors: {
  custom: {
    50: '#f89ee3',
    500: '#f170d6',
    950: '#000000',
  },
}
SCSS
$custom: #f170d6;
$custom-light: #f89ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#f170d6",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 214
  },
  "hsl": {
    "h": 312.558,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7311,
    "c": 0.19666,
    "h": 336.1
  },
  "luminance": 0.35144
}

Semantic roles & 50–950 ramp

primary
#F170D6
secondary
#CCF1D3
accent
#DF3407
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F170D6

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

Preview Lab → · Contrast checker → · Palette generator →

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