#F171D2#F171D2

#F171D2 is a light, vivid pink. Relative luminance 0.352; OKLCH L 73.1% C 0.192 H 337.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#F171D2
RGBrgb(241, 113, 210)
HSLhsl(315, 82%, 69%)
HSVhsv(315, 53%, 95%)
CMYKcmyk(0%, 53.1%, 12.9%, 5.5%)
CIE-LABlab(65.88, 60.71, -27.16)
CIE-LCHlch(65.88, 66.51, 335.90°)
OKLaboklab(73.07% 0.1777 -0.0732)
OKLCHoklch(73.07% 0.192 337.6)
XYZxyz(53.8142, 35.1682, 64.9141)
Luminance0.3516 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171D2 #71F190
analogous
#D071F1 #F171D2 #F17192
triadic
#F171D2 #D2F171 #71D2F1
tetradic
#F171D2 #F1D071 #71F190 #7192F1
square
#F171D2 #F1D071 #71F190 #7192F1
split-complementary
#F171D2 #92F171 #71F1D0
monochromatic
#D315A5 #EC39C0 #F171D2 #F6A9E4 #FCE0F5

Accessibility & contrast

On white

2.61
#F171D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#F171D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171D2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171D2#FFFFFF#000000##000000
##F171D21.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7494D5
Deuteranopia (green-blind)
#99A7CF
Tritanopia (blue-blind)
#FC7698
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f171d2;
/* rgb */ color: rgb(241, 113, 210);
/* oklch */ color: oklch(73.1% 0.192 337.6);
Tailwind
colors: {
  custom: {
    50: '#f89fe0',
    500: '#f171d2',
    950: '#000000',
  },
}
SCSS
$custom: #f171d2;
$custom-light: #f89fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#f171d2",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 314.531,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7307,
    "c": 0.19217,
    "h": 337.6
  },
  "luminance": 0.35164
}

Semantic roles & 50–950 ramp

primary
#F171D2
secondary
#CCF1D5
accent
#DE3B07
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F171D2

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

Preview Lab → · Contrast checker → · Palette generator →

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