#F171B5#F171B5

#F171B5 is a light, vivid pink. Relative luminance 0.338; OKLCH L 72.0% C 0.174 H 349.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#F171B5
RGBrgb(241, 113, 181)
HSLhsl(328, 82%, 69%)
HSVhsv(328, 53%, 95%)
CMYKcmyk(0%, 53.1%, 24.9%, 5.5%)
CIE-LABlab(64.84, 56.56, -12.38)
CIE-LCHlch(64.84, 57.90, 347.65°)
OKLaboklab(71.96% 0.1705 -0.0323)
OKLCHoklch(71.96% 0.174 349.3)
XYZxyz(50.5229, 33.8517, 47.5803)
Luminance0.3385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171B5 #71F1AD
analogous
#ED71F1 #F171B5 #F17175
triadic
#F171B5 #B5F171 #71B5F1
tetradic
#F171B5 #F1ED71 #71F1AD #7175F1
square
#F171B5 #F1ED71 #71F1AD #7175F1
split-complementary
#F171B5 #75F171 #71F1ED
monochromatic
#D3157A #EC3998 #F171B5 #F6A9D2 #FCE0EF

Accessibility & contrast

On white

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

On black

7.77
#F171B5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171B5
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171B5#FFFFFF#000000##000000
##F171B51.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8FB7
Deuteranopia (green-blind)
#A2A6B2
Tritanopia (blue-blind)
#FF6D8B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f171b5;
/* rgb */ color: rgb(241, 113, 181);
/* oklch */ color: oklch(72.0% 0.174 349.3);
Tailwind
colors: {
  custom: {
    50: '#f99ecb',
    500: '#f171b5',
    950: '#000000',
  },
}
SCSS
$custom: #f171b5;
$custom-light: #f99ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#f171b5",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 181
  },
  "hsl": {
    "h": 328.125,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71961,
    "c": 0.17353,
    "h": 349.3
  },
  "luminance": 0.33847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F171B5

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

Preview Lab → · Contrast checker → · Palette generator →

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