#F17ECC#F17ECC

#F17ECC is a light, vivid pink. Relative luminance 0.380; OKLCH L 74.6% C 0.167 H 340.9°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#F17ECC
RGBrgb(241, 126, 204)
HSLhsl(319, 80%, 72%)
HSVhsv(319, 48%, 95%)
CMYKcmyk(0%, 47.7%, 15.4%, 5.5%)
CIE-LABlab(68.01, 53.62, -20.54)
CIE-LCHlch(68.01, 57.42, 339.04°)
OKLaboklab(74.58% 0.1581 -0.0548)
OKLCHoklch(74.58% 0.167 340.9)
XYZxyz(54.6363, 37.9860, 61.5694)
Luminance0.3798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17ECC #7EF1A3
analogous
#DC7EF1 #F17ECC #F17E93
triadic
#F17ECC #CCF17E #7ECCF1
tetradic
#F17ECC #F1DC7E #7EF1A3 #7E93F1
square
#F17ECC #F1DC7E #7EF1A3 #7E93F1
split-complementary
#F17ECC #93F17E #7EF1DC
monochromatic
#DD189D #EB47B6 #F17ECC #F7B5E2 #FCE3F4

Accessibility & contrast

On white

2.44
#F17ECC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#F17ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17ECC
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17ECC#FFFFFF#000000##000000
##F17ECC1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#849ACF
Deuteranopia (green-blind)
#A3ADC9
Tritanopia (blue-blind)
#FD809C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f17ecc;
/* rgb */ color: rgb(241, 126, 204);
/* oklch */ color: oklch(74.6% 0.167 340.9);
Tailwind
colors: {
  custom: {
    50: '#f8a7db',
    500: '#f17ecc',
    950: '#000000',
  },
}
SCSS
$custom: #f17ecc;
$custom-light: #f8a7db;
$custom-dark: #000000;
JSON
{
  "hex": "#f17ecc",
  "rgb": {
    "r": 241,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 319.304,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74583,
    "c": 0.1673,
    "h": 340.9
  },
  "luminance": 0.37982
}

Semantic roles & 50–950 ramp

primary
#F17ECC
secondary
#D7F4E0
accent
#DD4D09
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F17ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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