#F17FA8#F17FA8

#F17FA8 is a light, vivid pink. Relative luminance 0.367; OKLCH L 73.5% C 0.146 H 358.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#F17FA8
RGBrgb(241, 127, 168)
HSLhsl(338, 80%, 72%)
HSVhsv(338, 47%, 95%)
CMYKcmyk(0%, 47.3%, 30.3%, 5.5%)
CIE-LABlab(67.06, 48.11, -1.73)
CIE-LCHlch(67.06, 48.14, 357.94°)
OKLaboklab(73.49% 0.1458 -0.0039)
OKLCHoklch(73.49% 0.146 358.5)
XYZxyz(50.9349, 36.7111, 41.4416)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17FA8 #7FF1C8
analogous
#F17FE1 #F17FA8 #F18F7F
triadic
#F17FA8 #A8F17F #7FA8F1
tetradic
#F17FA8 #E1F17F #7FF1C8 #8F7FF1
square
#F17FA8 #E1F17F #7FF1C8 #8F7FF1
split-complementary
#F17FA8 #7FF18F #7FE1F1
monochromatic
#DD185F #EB4883 #F17FA8 #F7B6CD #FCE3EC

Accessibility & contrast

On white

2.52
#F17FA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#F17FA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17FA8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17FA8#FFFFFF#000000##000000
##F17FA81.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9096A9
Deuteranopia (green-blind)
#ADABA5
Tritanopia (blue-blind)
#FF788E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f17fa8;
/* rgb */ color: rgb(241, 127, 168);
/* oklch */ color: oklch(73.5% 0.146 358.5);
Tailwind
colors: {
  custom: {
    50: '#f8a7c1',
    500: '#f17fa8',
    950: '#000000',
  },
}
SCSS
$custom: #f17fa8;
$custom-light: #f8a7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f17fa8",
  "rgb": {
    "r": 241,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 338.421,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73493,
    "c": 0.14588,
    "h": 358.5
  },
  "luminance": 0.36707
}

Semantic roles & 50–950 ramp

primary
#F17FA8
secondary
#D7F4EA
accent
#DD9009
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F17FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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