#F171B2#F171B2

#F171B2 is a light, vivid pink. Relative luminance 0.337; OKLCH L 71.9% C 0.172 H 350.6°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#F171B2
RGBrgb(241, 113, 178)
HSLhsl(330, 82%, 69%)
HSVhsv(330, 53%, 95%)
CMYKcmyk(0%, 53.1%, 26.1%, 5.5%)
CIE-LABlab(64.75, 56.16, -10.83)
CIE-LCHlch(64.75, 57.20, 349.09°)
OKLaboklab(71.86% 0.1696 -0.0281)
OKLCHoklch(71.86% 0.172 350.6)
XYZxyz(50.2184, 33.7299, 45.9765)
Luminance0.3372 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171B2 #71F1B0
analogous
#F071F1 #F171B2 #F17172
triadic
#F171B2 #B2F171 #71B2F1
tetradic
#F171B2 #F1F071 #71F1B0 #7172F1
square
#F171B2 #F1F071 #71F1B0 #7172F1
split-complementary
#F171B2 #72F171 #71F1F0
monochromatic
#D31575 #EC3994 #F171B2 #F6A9D0 #FCE0EE

Accessibility & contrast

On white

2.71
#F171B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#F171B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171B2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171B2#FFFFFF#000000##000000
##F171B21.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#808FB4
Deuteranopia (green-blind)
#A2A5AF
Tritanopia (blue-blind)
#FF6C8A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f171b2;
/* rgb */ color: rgb(241, 113, 178);
/* oklch */ color: oklch(71.9% 0.172 350.6);
Tailwind
colors: {
  custom: {
    50: '#f99ec9',
    500: '#f171b2',
    950: '#000000',
  },
}
SCSS
$custom: #f171b2;
$custom-light: #f99ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#f171b2",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 329.531,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71856,
    "c": 0.17195,
    "h": 350.6
  },
  "luminance": 0.33725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F171B2

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

Preview Lab → · Contrast checker → · Palette generator →

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