#F17FD5#F17FD5

#F17FD5 is a light, vivid pink. Relative luminance 0.387; OKLCH L 75.1% C 0.172 H 337.2°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#F17FD5
RGBrgb(241, 127, 213)
HSLhsl(315, 80%, 72%)
HSVhsv(315, 47%, 95%)
CMYKcmyk(0%, 47.3%, 11.6%, 5.5%)
CIE-LABlab(68.52, 54.53, -24.77)
CIE-LCHlch(68.52, 59.89, 335.57°)
OKLaboklab(75.07% 0.1588 -0.0666)
OKLCHoklch(75.07% 0.172 337.2)
XYZxyz(55.8755, 38.6873, 67.4623)
Luminance0.3868 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17FD5 #7FF19B
analogous
#D47FF1 #F17FD5 #F17F9C
triadic
#F17FD5 #D5F17F #7FD5F1
tetradic
#F17FD5 #F1D47F #7FF19B #7F9CF1
square
#F17FD5 #F1D47F #7FF19B #7F9CF1
split-complementary
#F17FD5 #9CF17F #7FF1D4
monochromatic
#DD18AD #EB48C3 #F17FD5 #F7B6E7 #FCE3F6

Accessibility & contrast

On white

2.40
#F17FD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#F17FD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17FD5
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17FD5#FFFFFF#000000##000000
##F17FD51.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#819CD8
Deuteranopia (green-blind)
#A1AED2
Tritanopia (blue-blind)
#FC83A0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f17fd5;
/* rgb */ color: rgb(241, 127, 213);
/* oklch */ color: oklch(75.1% 0.172 337.2);
Tailwind
colors: {
  custom: {
    50: '#f8a7e2',
    500: '#f17fd5',
    950: '#000000',
  },
}
SCSS
$custom: #f17fd5;
$custom-light: #f8a7e2;
$custom-dark: #000000;
JSON
{
  "hex": "#f17fd5",
  "rgb": {
    "r": 241,
    "g": 127,
    "b": 213
  },
  "hsl": {
    "h": 314.737,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75074,
    "c": 0.17224,
    "h": 337.2
  },
  "luminance": 0.38684
}

Semantic roles & 50–950 ramp

primary
#F17FD5
secondary
#D7F4DE
accent
#DD3D09
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F17FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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