#F170D2#F170D2

#F170D2 is a light, vivid pink. Relative luminance 0.349; OKLCH L 72.9% C 0.194 H 337.6°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#F170D2
RGBrgb(241, 112, 210)
HSLhsl(314, 82%, 69%)
HSVhsv(314, 54%, 95%)
CMYKcmyk(0%, 53.5%, 12.9%, 5.5%)
CIE-LABlab(65.71, 61.17, -27.42)
CIE-LCHlch(65.71, 67.04, 335.85°)
OKLaboklab(72.94% 0.179 -0.074)
OKLCHoklch(72.94% 0.194 337.6)
XYZxyz(53.7032, 34.9463, 64.8771)
Luminance0.3494 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170D2 #70F18F
analogous
#D070F1 #F170D2 #F17092
triadic
#F170D2 #D2F170 #70D2F1
tetradic
#F170D2 #F1D070 #70F18F #7092F1
square
#F170D2 #F1D070 #70F18F #7092F1
split-complementary
#F170D2 #92F170 #70F1D0
monochromatic
#D215A5 #EC38C0 #F170D2 #F6A8E4 #FCDFF5

Accessibility & contrast

On white

2.63
#F170D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#F170D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170D2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170D2#FFFFFF#000000##000000
##F170D21.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7393D5
Deuteranopia (green-blind)
#98A7CF
Tritanopia (blue-blind)
#FC7598
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f170d2;
/* rgb */ color: rgb(241, 112, 210);
/* oklch */ color: oklch(72.9% 0.194 337.6);
Tailwind
colors: {
  custom: {
    50: '#f89ee0',
    500: '#f170d2',
    950: '#000000',
  },
}
SCSS
$custom: #f170d2;
$custom-light: #f89ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#f170d2",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 210
  },
  "hsl": {
    "h": 314.419,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72942,
    "c": 0.19371,
    "h": 337.6
  },
  "luminance": 0.34942
}

Semantic roles & 50–950 ramp

primary
#F170D2
secondary
#CCF1D5
accent
#DF3B07
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F170D2

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

Preview Lab → · Contrast checker → · Palette generator →

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