#F17EC4#F17EC4

#F17EC4 is a light, vivid pink. Relative luminance 0.376; OKLCH L 74.3% C 0.162 H 344.4°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#F17EC4
RGBrgb(241, 126, 196)
HSLhsl(323, 80%, 72%)
HSVhsv(323, 48%, 95%)
CMYKcmyk(0%, 47.7%, 18.7%, 5.5%)
CIE-LABlab(67.73, 52.43, -16.49)
CIE-LCHlch(67.73, 54.96, 342.55°)
OKLaboklab(74.29% 0.1559 -0.0436)
OKLCHoklch(74.29% 0.162 344.4)
XYZxyz(53.7013, 37.6120, 56.6453)
Luminance0.3761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17EC4 #7EF1AB
analogous
#E47EF1 #F17EC4 #F17E8B
triadic
#F17EC4 #C4F17E #7EC4F1
tetradic
#F17EC4 #F1E47E #7EF1AB #7E8BF1
square
#F17EC4 #F1E47E #7EF1AB #7E8BF1
split-complementary
#F17EC4 #8BF17E #7EF1E4
monochromatic
#DD1890 #EB47AB #F17EC4 #F7B5DD #FCE3F2

Accessibility & contrast

On white

2.46
#F17EC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#F17EC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17EC4
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17EC4#FFFFFF#000000##000000
##F17EC41.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8799C6
Deuteranopia (green-blind)
#A5ACC1
Tritanopia (blue-blind)
#FE7D98
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f17ec4;
/* rgb */ color: rgb(241, 126, 196);
/* oklch */ color: oklch(74.3% 0.162 344.4);
Tailwind
colors: {
  custom: {
    50: '#f8a6d6',
    500: '#f17ec4',
    950: '#000000',
  },
}
SCSS
$custom: #f17ec4;
$custom-light: #f8a6d6;
$custom-dark: #000000;
JSON
{
  "hex": "#f17ec4",
  "rgb": {
    "r": 241,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 323.478,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74285,
    "c": 0.16192,
    "h": 344.4
  },
  "luminance": 0.37608
}

Semantic roles & 50–950 ramp

primary
#F17EC4
secondary
#D7F4E2
accent
#DD5C09
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #F17EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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