#F171B9#F171B9

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

Color values

HEX#F171B9
RGBrgb(241, 113, 185)
HSLhsl(326, 82%, 69%)
HSVhsv(326, 53%, 95%)
CMYKcmyk(0%, 53.1%, 23.2%, 5.5%)
CIE-LABlab(64.98, 57.10, -14.45)
CIE-LCHlch(64.98, 58.90, 345.80°)
OKLaboklab(72.1% 0.1716 -0.0379)
OKLCHoklch(72.1% 0.176 347.5)
XYZxyz(50.9392, 34.0182, 49.7729)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171B9 #71F1A9
analogous
#E971F1 #F171B9 #F17179
triadic
#F171B9 #B9F171 #71B9F1
tetradic
#F171B9 #F1E971 #71F1A9 #7179F1
square
#F171B9 #F1E971 #71F1A9 #7179F1
split-complementary
#F171B9 #79F171 #71F1E9
monochromatic
#D31580 #EC399E #F171B9 #F6A9D4 #FCE0F0

Accessibility & contrast

On white

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

On black

7.80
#F171B9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171B9
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171B9#FFFFFF#000000##000000
##F171B91.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f171b9;
/* rgb */ color: rgb(241, 113, 185);
/* oklch */ color: oklch(72.1% 0.176 347.5);
Tailwind
colors: {
  custom: {
    50: '#f99ece',
    500: '#f171b9',
    950: '#000000',
  },
}
SCSS
$custom: #f171b9;
$custom-light: #f99ece;
$custom-dark: #000000;
JSON
{
  "hex": "#f171b9",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 185
  },
  "hsl": {
    "h": 326.25,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72103,
    "c": 0.17577,
    "h": 347.5
  },
  "luminance": 0.34014
}

Semantic roles & 50–950 ramp

primary
#F171B9
secondary
#CCF1DD
accent
#DE6507
background
#FFFAFC
surface
#FFF3F9
border
#D7CDD2
text
#180F13
muted
#867F82

Preview Lab

Preview with #F171B9

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

Preview Lab → · Contrast checker → · Palette generator →

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