#F17EC8#F17EC8

#F17EC8 is a light, vivid pink. Relative luminance 0.378; OKLCH L 74.4% C 0.165 H 342.6°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#F17EC8
RGBrgb(241, 126, 200)
HSLhsl(321, 80%, 72%)
HSVhsv(321, 48%, 95%)
CMYKcmyk(0%, 47.7%, 17%, 5.5%)
CIE-LABlab(67.87, 53.02, -18.52)
CIE-LCHlch(67.87, 56.16, 340.75°)
OKLaboklab(74.43% 0.157 -0.0492)
OKLCHoklch(74.43% 0.165 342.6)
XYZxyz(54.1627, 37.7966, 59.0751)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17EC8 #7EF1A7
analogous
#E07EF1 #F17EC8 #F17E8F
triadic
#F17EC8 #C8F17E #7EC8F1
tetradic
#F17EC8 #F1E07E #7EF1A7 #7E8FF1
square
#F17EC8 #F1E07E #7EF1A7 #7E8FF1
split-complementary
#F17EC8 #8FF17E #7EF1E0
monochromatic
#DD1897 #EB47B0 #F17EC8 #F7B5E0 #FCE3F3

Accessibility & contrast

On white

2.45
#F17EC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#F17EC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17EC8
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17EC8#FFFFFF#000000##000000
##F17EC81.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#859ACB
Deuteranopia (green-blind)
#A4ACC5
Tritanopia (blue-blind)
#FD7F9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f17ec8;
/* rgb */ color: rgb(241, 126, 200);
/* oklch */ color: oklch(74.4% 0.165 342.6);
Tailwind
colors: {
  custom: {
    50: '#f8a7d8',
    500: '#f17ec8',
    950: '#000000',
  },
}
SCSS
$custom: #f17ec8;
$custom-light: #f8a7d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f17ec8",
  "rgb": {
    "r": 241,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 321.391,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74432,
    "c": 0.16455,
    "h": 342.6
  },
  "luminance": 0.37793
}

Semantic roles & 50–950 ramp

primary
#F17EC8
secondary
#D7F4E1
accent
#DD5409
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #F17EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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