#F17FA5#F17FA5

#F17FA5 is a light, vivid pink. Relative luminance 0.366; OKLCH L 73.4% C 0.145 H 0.1°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#F17FA5
RGBrgb(241, 127, 165)
HSLhsl(340, 80%, 72%)
HSVhsv(340, 47%, 95%)
CMYKcmyk(0%, 47.3%, 31.5%, 5.5%)
CIE-LABlab(66.98, 47.74, -0.16)
CIE-LCHlch(66.98, 47.74, 359.81°)
OKLaboklab(73.4% 0.1448 0.0002)
OKLCHoklch(73.4% 0.145 0.1)
XYZxyz(50.6586, 36.6006, 39.9866)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17FA5 #7FF1CB
analogous
#F17FDE #F17FA5 #F1927F
triadic
#F17FA5 #A5F17F #7FA5F1
tetradic
#F17FA5 #DEF17F #7FF1CB #927FF1
square
#F17FA5 #DEF17F #7FF1CB #927FF1
split-complementary
#F17FA5 #7FF192 #7FDEF1
monochromatic
#DD185A #EB487E #F17FA5 #F7B6CC #FCE3EC

Accessibility & contrast

On white

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

On black

8.32
#F17FA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17FA5
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17FA5#FFFFFF#000000##000000
##F17FA51.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9096A6
Deuteranopia (green-blind)
#ADABA2
Tritanopia (blue-blind)
#FF778D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f17fa5;
/* rgb */ color: rgb(241, 127, 165);
/* oklch */ color: oklch(73.4% 0.145 0.1);
Tailwind
colors: {
  custom: {
    50: '#f8a7bf',
    500: '#f17fa5',
    950: '#000000',
  },
}
SCSS
$custom: #f17fa5;
$custom-light: #f8a7bf;
$custom-dark: #000000;
JSON
{
  "hex": "#f17fa5",
  "rgb": {
    "r": 241,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 340,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73403,
    "c": 0.14481,
    "h": 0.1
  },
  "luminance": 0.36596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F17FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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