#F17FD2#F17FD2

#F17FD2 is a light, vivid pink. Relative luminance 0.385; OKLCH L 75.0% C 0.170 H 338.4°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#F17FD2
RGBrgb(241, 127, 210)
HSLhsl(316, 80%, 72%)
HSVhsv(316, 47%, 95%)
CMYKcmyk(0%, 47.3%, 12.9%, 5.5%)
CIE-LABlab(68.41, 54.06, -23.27)
CIE-LCHlch(68.41, 58.85, 336.71°)
OKLaboklab(74.96% 0.1581 -0.0624)
OKLCHoklch(74.96% 0.17 338.4)
XYZxyz(55.4983, 38.5364, 65.4754)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17FD2 #7FF19E
analogous
#D77FF1 #F17FD2 #F17F99
triadic
#F17FD2 #D2F17F #7FD2F1
tetradic
#F17FD2 #F1D77F #7FF19E #7F99F1
square
#F17FD2 #F1D77F #7FF19E #7F99F1
split-complementary
#F17FD2 #99F17F #7FF1D7
monochromatic
#DD18A8 #EB48BF #F17FD2 #F7B6E5 #FCE3F5

Accessibility & contrast

On white

2.41
#F17FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#F17FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17FD2
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17FD2#FFFFFF#000000##000000
##F17FD21.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#839CD5
Deuteranopia (green-blind)
#A1ADCF
Tritanopia (blue-blind)
#FC829F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f17fd2;
/* rgb */ color: rgb(241, 127, 210);
/* oklch */ color: oklch(75.0% 0.170 338.4);
Tailwind
colors: {
  custom: {
    50: '#f8a7e0',
    500: '#f17fd2',
    950: '#000000',
  },
}
SCSS
$custom: #f17fd2;
$custom-light: #f8a7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f17fd2",
  "rgb": {
    "r": 241,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 316.316,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74955,
    "c": 0.16999,
    "h": 338.4
  },
  "luminance": 0.38533
}

Semantic roles & 50–950 ramp

primary
#F17FD2
secondary
#D7F4DF
accent
#DD4209
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F17FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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