#F171B4#F171B4

#F171B4 is a light, vivid pink. Relative luminance 0.338; OKLCH L 71.9% C 0.173 H 349.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#F171B4
RGBrgb(241, 113, 180)
HSLhsl(329, 82%, 69%)
HSVhsv(329, 53%, 95%)
CMYKcmyk(0%, 53.1%, 25.3%, 5.5%)
CIE-LABlab(64.81, 56.43, -11.86)
CIE-LCHlch(64.81, 57.66, 348.13°)
OKLaboklab(71.93% 0.1702 -0.0309)
OKLCHoklch(71.93% 0.173 349.7)
XYZxyz(50.4207, 33.8108, 47.0418)
Luminance0.3381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171B4 #71F1AE
analogous
#EE71F1 #F171B4 #F17174
triadic
#F171B4 #B4F171 #71B4F1
tetradic
#F171B4 #F1EE71 #71F1AE #7174F1
square
#F171B4 #F1EE71 #71F1AE #7174F1
split-complementary
#F171B4 #74F171 #71F1EE
monochromatic
#D31578 #EC3997 #F171B4 #F6A9D1 #FCE0EF

Accessibility & contrast

On white

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

On black

7.76
#F171B4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171B4
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171B4#FFFFFF#000000##000000
##F171B41.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#808FB6
Deuteranopia (green-blind)
#A2A6B1
Tritanopia (blue-blind)
#FF6D8B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f171b4;
/* rgb */ color: rgb(241, 113, 180);
/* oklch */ color: oklch(71.9% 0.173 349.7);
Tailwind
colors: {
  custom: {
    50: '#f99eca',
    500: '#f171b4',
    950: '#000000',
  },
}
SCSS
$custom: #f171b4;
$custom-light: #f99eca;
$custom-dark: #000000;
JSON
{
  "hex": "#f171b4",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 180
  },
  "hsl": {
    "h": 328.594,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71926,
    "c": 0.173,
    "h": 349.7
  },
  "luminance": 0.33806
}

Semantic roles & 50–950 ramp

primary
#F171B4
secondary
#CCF1DE
accent
#DE6E07
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F171B4

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

Preview Lab → · Contrast checker → · Palette generator →

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