#F171D4#F171D4

#F171D4 is a light, vivid pink. Relative luminance 0.353; OKLCH L 73.2% C 0.194 H 336.9°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#F171D4
RGBrgb(241, 113, 212)
HSLhsl(314, 82%, 69%)
HSVhsv(314, 53%, 95%)
CMYKcmyk(0%, 53.1%, 12%, 5.5%)
CIE-LABlab(65.96, 61.02, -28.16)
CIE-LCHlch(65.96, 67.20, 335.23°)
OKLaboklab(73.15% 0.1781 -0.076)
OKLCHoklch(73.15% 0.194 336.9)
XYZxyz(54.0649, 35.2685, 66.2345)
Luminance0.3526 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171D4 #71F18E
analogous
#CE71F1 #F171D4 #F17194
triadic
#F171D4 #D4F171 #71D4F1
tetradic
#F171D4 #F1CE71 #71F18E #7194F1
square
#F171D4 #F1CE71 #71F18E #7194F1
split-complementary
#F171D4 #94F171 #71F1CE
monochromatic
#D315A8 #EC39C3 #F171D4 #F6A9E5 #FCE0F6

Accessibility & contrast

On white

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

On black

8.05
#F171D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171D4
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171D4#FFFFFF#000000##000000
##F171D41.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7394D7
Deuteranopia (green-blind)
#98A7D1
Tritanopia (blue-blind)
#FC7699
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f171d4;
/* rgb */ color: rgb(241, 113, 212);
/* oklch */ color: oklch(73.2% 0.194 336.9);
Tailwind
colors: {
  custom: {
    50: '#f89fe1',
    500: '#f171d4',
    950: '#000000',
  },
}
SCSS
$custom: #f171d4;
$custom-light: #f89fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#f171d4",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 212
  },
  "hsl": {
    "h": 313.594,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73153,
    "c": 0.19364,
    "h": 336.9
  },
  "luminance": 0.35264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F171D4

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

Preview Lab → · Contrast checker → · Palette generator →

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