#F170D4#F170D4

#F170D4 is a light, vivid pink. Relative luminance 0.350; OKLCH L 73.0% C 0.195 H 336.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#F170D4
RGBrgb(241, 112, 212)
HSLhsl(313, 82%, 69%)
HSVhsv(313, 54%, 95%)
CMYKcmyk(0%, 53.5%, 12%, 5.5%)
CIE-LABlab(65.78, 61.48, -28.42)
CIE-LCHlch(65.78, 67.73, 335.19°)
OKLaboklab(73.03% 0.1794 -0.0768)
OKLCHoklch(73.03% 0.195 336.8)
XYZxyz(53.9539, 35.0466, 66.1975)
Luminance0.3504 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170D4 #70F18D
analogous
#CD70F1 #F170D4 #F17094
triadic
#F170D4 #D4F170 #70D4F1
tetradic
#F170D4 #F1CD70 #70F18D #7094F1
square
#F170D4 #F1CD70 #70F18D #7094F1
split-complementary
#F170D4 #94F170 #70F1CD
monochromatic
#D215A7 #EC38C3 #F170D4 #F6A8E5 #FCDFF6

Accessibility & contrast

On white

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

On black

8.01
#F170D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170D4
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170D4#FFFFFF#000000##000000
##F170D41.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7293D7
Deuteranopia (green-blind)
#98A7D1
Tritanopia (blue-blind)
#FC7599
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f170d4;
/* rgb */ color: rgb(241, 112, 212);
/* oklch */ color: oklch(73.0% 0.195 336.8);
Tailwind
colors: {
  custom: {
    50: '#f89ee1',
    500: '#f170d4',
    950: '#000000',
  },
}
SCSS
$custom: #f170d4;
$custom-light: #f89ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#f170d4",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 212
  },
  "hsl": {
    "h": 313.488,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73026,
    "c": 0.19517,
    "h": 336.8
  },
  "luminance": 0.35043
}

Semantic roles & 50–950 ramp

primary
#F170D4
secondary
#CCF1D4
accent
#DF3707
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F170D4

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

Preview Lab → · Contrast checker → · Palette generator →

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