#F171BA#F171BA

#F171BA is a light, vivid pink. Relative luminance 0.341; OKLCH L 72.1% C 0.176 H 347.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#F171BA
RGBrgb(241, 113, 186)
HSLhsl(326, 82%, 69%)
HSVhsv(326, 53%, 95%)
CMYKcmyk(0%, 53.1%, 22.8%, 5.5%)
CIE-LABlab(65.01, 57.24, -14.97)
CIE-LCHlch(65.01, 59.16, 345.35°)
OKLaboklab(72.14% 0.1719 -0.0394)
OKLCHoklch(72.14% 0.176 347.1)
XYZxyz(51.0452, 34.0606, 50.3308)
Luminance0.3406 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171BA #71F1A8
analogous
#E871F1 #F171BA #F1717A
triadic
#F171BA #BAF171 #71BAF1
tetradic
#F171BA #F1E871 #71F1A8 #717AF1
square
#F171BA #F1E871 #71F1A8 #717AF1
split-complementary
#F171BA #7AF171 #71F1E8
monochromatic
#D31581 #EC399F #F171BA #F6A9D5 #FCE0F0

Accessibility & contrast

On white

2.69
#F171BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#F171BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171BA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171BA#FFFFFF#000000##000000
##F171BA1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E90BC
Deuteranopia (green-blind)
#A0A6B7
Tritanopia (blue-blind)
#FF6E8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f171ba;
/* rgb */ color: rgb(241, 113, 186);
/* oklch */ color: oklch(72.1% 0.176 347.1);
Tailwind
colors: {
  custom: {
    50: '#f99ece',
    500: '#f171ba',
    950: '#000000',
  },
}
SCSS
$custom: #f171ba;
$custom-light: #f99ece;
$custom-dark: #000000;
JSON
{
  "hex": "#f171ba",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 325.781,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72139,
    "c": 0.17635,
    "h": 347.1
  },
  "luminance": 0.34056
}

Semantic roles & 50–950 ramp

primary
#F171BA
secondary
#CCF1DC
accent
#DE6407
background
#FFFAFC
surface
#FFF3F9
border
#D7CDD2
text
#180F13
muted
#867F82

Preview Lab

Preview with #F171BA

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

Preview Lab → · Contrast checker → · Palette generator →

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