#F171C5#F171C5

#F171C5 is a light, vivid pink. Relative luminance 0.345; OKLCH L 72.5% C 0.183 H 342.6°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#F171C5
RGBrgb(241, 113, 197)
HSLhsl(321, 82%, 69%)
HSVhsv(321, 53%, 95%)
CMYKcmyk(0%, 53.1%, 18.3%, 5.5%)
CIE-LABlab(65.39, 58.78, -20.60)
CIE-LCHlch(65.39, 62.29, 340.69°)
OKLaboklab(72.55% 0.1747 -0.0549)
OKLCHoklch(72.55% 0.183 342.6)
XYZxyz(52.2599, 34.5465, 56.7282)
Luminance0.3454 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171C5 #71F19D
analogous
#DD71F1 #F171C5 #F17185
triadic
#F171C5 #C5F171 #71C5F1
tetradic
#F171C5 #F1DD71 #71F19D #7185F1
square
#F171C5 #F1DD71 #71F19D #7185F1
split-complementary
#F171C5 #85F171 #71F1DD
monochromatic
#D31591 #EC39AE #F171C5 #F6A9DC #FCE0F3

Accessibility & contrast

On white

2.66
#F171C5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#F171C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171C5
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171C5#FFFFFF#000000##000000
##F171C51.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92C8
Deuteranopia (green-blind)
#9DA7C2
Tritanopia (blue-blind)
#FE7292
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f171c5;
/* rgb */ color: rgb(241, 113, 197);
/* oklch */ color: oklch(72.5% 0.183 342.6);
Tailwind
colors: {
  custom: {
    50: '#f89ed6',
    500: '#f171c5',
    950: '#000000',
  },
}
SCSS
$custom: #f171c5;
$custom-light: #f89ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#f171c5",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 197
  },
  "hsl": {
    "h": 320.625,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7255,
    "c": 0.18316,
    "h": 342.6
  },
  "luminance": 0.34542
}

Semantic roles & 50–950 ramp

primary
#F171C5
secondary
#CCF1D9
accent
#DE5107
background
#FFFAFD
surface
#FFF3FA
border
#D7CDD3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F171C5

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

Preview Lab → · Contrast checker → · Palette generator →

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