#F17FA2#F17FA2

#F17FA2 is a light, vivid pink. Relative luminance 0.365; OKLCH L 73.3% C 0.144 H 1.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#F17FA2
RGBrgb(241, 127, 162)
HSLhsl(342, 80%, 72%)
HSVhsv(342, 47%, 95%)
CMYKcmyk(0%, 47.3%, 32.8%, 5.5%)
CIE-LABlab(66.89, 47.37, 1.42)
CIE-LCHlch(66.89, 47.39, 1.71°)
OKLaboklab(73.31% 0.1438 0.0043)
OKLCHoklch(73.31% 0.144 1.7)
XYZxyz(50.3888, 36.4926, 38.5654)
Luminance0.3649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17FA2 #7FF1CE
analogous
#F17FDB #F17FA2 #F1957F
triadic
#F17FA2 #A2F17F #7FA2F1
tetradic
#F17FA2 #DBF17F #7FF1CE #957FF1
square
#F17FA2 #DBF17F #7FF1CE #957FF1
split-complementary
#F17FA2 #7FF195 #7FDBF1
monochromatic
#DD1855 #EB487A #F17FA2 #F7B6CA #FCE3EB

Accessibility & contrast

On white

2.53
#F17FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#F17FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17FA2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17FA2#FFFFFF#000000##000000
##F17FA21.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9196A3
Deuteranopia (green-blind)
#AEAB9F
Tritanopia (blue-blind)
#FF768C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f17fa2;
/* rgb */ color: rgb(241, 127, 162);
/* oklch */ color: oklch(73.3% 0.144 1.7);
Tailwind
colors: {
  custom: {
    50: '#f9a7bd',
    500: '#f17fa2',
    950: '#000000',
  },
}
SCSS
$custom: #f17fa2;
$custom-light: #f9a7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f17fa2",
  "rgb": {
    "r": 241,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 341.579,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73314,
    "c": 0.14383,
    "h": 1.7
  },
  "luminance": 0.36488
}

Semantic roles & 50–950 ramp

primary
#F17FA2
secondary
#D7F4EB
accent
#DD9C09
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F17FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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