#F171CB#F171CB

#F171CB is a light, vivid pink. Relative luminance 0.348; OKLCH L 72.8% C 0.187 H 340.2°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#F171CB
RGBrgb(241, 113, 203)
HSLhsl(318, 82%, 69%)
HSVhsv(318, 53%, 95%)
CMYKcmyk(0%, 53.1%, 15.8%, 5.5%)
CIE-LABlab(65.61, 59.66, -23.64)
CIE-LCHlch(65.61, 64.17, 338.39°)
OKLaboklab(72.79% 0.1762 -0.0634)
OKLCHoklch(72.79% 0.187 340.2)
XYZxyz(52.9611, 34.8270, 60.4212)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171CB #71F197
analogous
#D771F1 #F171CB #F1718B
triadic
#F171CB #CBF171 #71CBF1
tetradic
#F171CB #F1D771 #71F197 #718BF1
square
#F171CB #F1D771 #71F197 #718BF1
split-complementary
#F171CB #8BF171 #71F1D7
monochromatic
#D3159A #EC39B7 #F171CB #F6A9DF #FCE0F4

Accessibility & contrast

On white

2.64
#F171CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#F171CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171CB
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171CB#FFFFFF#000000##000000
##F171CB1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793CE
Deuteranopia (green-blind)
#9BA7C8
Tritanopia (blue-blind)
#FD7395
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f171cb;
/* rgb */ color: rgb(241, 113, 203);
/* oklch */ color: oklch(72.8% 0.187 340.2);
Tailwind
colors: {
  custom: {
    50: '#f89fdb',
    500: '#f171cb',
    950: '#000000',
  },
}
SCSS
$custom: #f171cb;
$custom-light: #f89fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#f171cb",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 317.813,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72786,
    "c": 0.1872,
    "h": 340.2
  },
  "luminance": 0.34823
}

Semantic roles & 50–950 ramp

primary
#F171CB
secondary
#CCF1D7
accent
#DE4707
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F171CB

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

Preview Lab → · Contrast checker → · Palette generator →

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