#F171AB#F171AB

#F171AB is a light, vivid pink. Relative luminance 0.335; OKLCH L 71.6% C 0.169 H 353.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#F171AB
RGBrgb(241, 113, 171)
HSLhsl(333, 82%, 69%)
HSVhsv(333, 53%, 95%)
CMYKcmyk(0%, 53.1%, 29%, 5.5%)
CIE-LABlab(64.53, 55.26, -7.17)
CIE-LCHlch(64.53, 55.73, 352.61°)
OKLaboklab(71.62% 0.1675 -0.0183)
OKLCHoklch(71.62% 0.169 353.8)
XYZxyz(49.5335, 33.4559, 42.3691)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171AB #71F1B7
analogous
#F171EB #F171AB #F17771
triadic
#F171AB #ABF171 #71ABF1
tetradic
#F171AB #EBF171 #71F1B7 #7771F1
square
#F171AB #EBF171 #71F1B7 #7771F1
split-complementary
#F171AB #71F177 #71EBF1
monochromatic
#D3156B #EC398A #F171AB #F6A9CC #FCE0ED

Accessibility & contrast

On white

2.73
#F171AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#F171AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171AB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171AB#FFFFFF#000000##000000
##F171AB1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#828EAD
Deuteranopia (green-blind)
#A4A5A8
Tritanopia (blue-blind)
#FF6A87
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f171ab;
/* rgb */ color: rgb(241, 113, 171);
/* oklch */ color: oklch(71.6% 0.169 353.8);
Tailwind
colors: {
  custom: {
    50: '#f99ec4',
    500: '#f171ab',
    950: '#000000',
  },
}
SCSS
$custom: #f171ab;
$custom-light: #f99ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#f171ab",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 332.813,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7162,
    "c": 0.16852,
    "h": 353.8
  },
  "luminance": 0.33451
}

Semantic roles & 50–950 ramp

primary
#F171AB
secondary
#CCF1E1
accent
#DE7D07
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F12
muted
#867F81

Preview Lab

Preview with #F171AB

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

Preview Lab → · Contrast checker → · Palette generator →

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