#F171B7#F171B7

#F171B7 is a light, vivid pink. Relative luminance 0.339; OKLCH L 72.0% C 0.175 H 348.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#F171B7
RGBrgb(241, 113, 183)
HSLhsl(327, 82%, 69%)
HSVhsv(327, 53%, 95%)
CMYKcmyk(0%, 53.1%, 24.1%, 5.5%)
CIE-LABlab(64.91, 56.83, -13.42)
CIE-LCHlch(64.91, 58.39, 346.72°)
OKLaboklab(72.03% 0.1711 -0.0351)
OKLCHoklch(72.03% 0.175 348.4)
XYZxyz(50.7296, 33.9344, 48.6688)
Luminance0.3393 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171B7 #71F1AB
analogous
#EB71F1 #F171B7 #F17177
triadic
#F171B7 #B7F171 #71B7F1
tetradic
#F171B7 #F1EB71 #71F1AB #7177F1
square
#F171B7 #F1EB71 #71F1AB #7177F1
split-complementary
#F171B7 #77F171 #71F1EB
monochromatic
#D3157D #EC399B #F171B7 #F6A9D3 #FCE0EF

Accessibility & contrast

On white

2.70
#F171B7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#F171B7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171B7
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171B7#FFFFFF#000000##000000
##F171B71.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F90B9
Deuteranopia (green-blind)
#A1A6B4
Tritanopia (blue-blind)
#FF6E8C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f171b7;
/* rgb */ color: rgb(241, 113, 183);
/* oklch */ color: oklch(72.0% 0.175 348.4);
Tailwind
colors: {
  custom: {
    50: '#f99ecc',
    500: '#f171b7',
    950: '#000000',
  },
}
SCSS
$custom: #f171b7;
$custom-light: #f99ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#f171b7",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 183
  },
  "hsl": {
    "h": 327.188,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72031,
    "c": 0.17464,
    "h": 348.4
  },
  "luminance": 0.3393
}

Semantic roles & 50–950 ramp

primary
#F171B7
secondary
#CCF1DD
accent
#DE6907
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F171B7

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

Preview Lab → · Contrast checker → · Palette generator →

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