#F171AF#F171AF

#F171AF is a light, vivid pink. Relative luminance 0.336; OKLCH L 71.8% C 0.170 H 351.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#F171AF
RGBrgb(241, 113, 175)
HSLhsl(331, 82%, 69%)
HSVhsv(331, 53%, 95%)
CMYKcmyk(0%, 53.1%, 27.4%, 5.5%)
CIE-LABlab(64.65, 55.77, -9.26)
CIE-LCHlch(64.65, 56.54, 350.57°)
OKLaboklab(71.75% 0.1688 -0.0239)
OKLCHoklch(71.75% 0.17 351.9)
XYZxyz(49.9205, 33.6107, 44.4075)
Luminance0.3361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171AF #71F1B3
analogous
#F171EF #F171AF #F17371
triadic
#F171AF #AFF171 #71AFF1
tetradic
#F171AF #EFF171 #71F1B3 #7371F1
square
#F171AF #EFF171 #71F1B3 #7371F1
split-complementary
#F171AF #71F173 #71EFF1
monochromatic
#D31571 #EC3990 #F171AF #F6A9CE #FCE0EE

Accessibility & contrast

On white

2.72
#F171AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#F171AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171AF
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171AF#FFFFFF#000000##000000
##F171AF1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#818FB1
Deuteranopia (green-blind)
#A3A5AC
Tritanopia (blue-blind)
#FF6B89
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f171af;
/* rgb */ color: rgb(241, 113, 175);
/* oklch */ color: oklch(71.8% 0.170 351.9);
Tailwind
colors: {
  custom: {
    50: '#f99ec6',
    500: '#f171af',
    950: '#000000',
  },
}
SCSS
$custom: #f171af;
$custom-light: #f99ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#f171af",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 330.938,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71754,
    "c": 0.17043,
    "h": 351.9
  },
  "luminance": 0.33606
}

Semantic roles & 50–950 ramp

primary
#F171AF
secondary
#CCF1DF
accent
#DE7607
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F171AF

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

Preview Lab → · Contrast checker → · Palette generator →

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