#F171DF#F171DF

#F171DF is a light, highly saturated purple. Relative luminance 0.358; OKLCH L 73.6% C 0.202 H 333.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#F171DF
RGBrgb(241, 113, 223)
HSLhsl(308, 82%, 69%)
HSVhsv(308, 53%, 95%)
CMYKcmyk(0%, 53.1%, 7.5%, 5.5%)
CIE-LABlab(66.40, 62.75, -33.61)
CIE-LCHlch(66.40, 71.18, 331.82°)
OKLaboklab(73.63% 0.1801 -0.0915)
OKLCHoklch(73.63% 0.202 333.1)
XYZxyz(55.5000, 35.8425, 73.7928)
Luminance0.3584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171DF #71F183
analogous
#C371F1 #F171DF #F1719F
triadic
#F171DF #DFF171 #71DFF1
tetradic
#F171DF #F1C371 #71F183 #719FF1
square
#F171DF #F1C371 #71F183 #719FF1
split-complementary
#F171DF #9FF171 #71F1C3
monochromatic
#D315B8 #EC39D2 #F171DF #F6A9EC #FCE0F8

Accessibility & contrast

On white

2.57
#F171DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#F171DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171DF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171DF#FFFFFF#000000##000000
##F171DF1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E96E3
Deuteranopia (green-blind)
#94A8DB
Tritanopia (blue-blind)
#FA7A9E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f171df;
/* rgb */ color: rgb(241, 113, 223);
/* oklch */ color: oklch(73.6% 0.202 333.1);
Tailwind
colors: {
  custom: {
    50: '#f89fe9',
    500: '#f171df',
    950: '#000000',
  },
}
SCSS
$custom: #f171df;
$custom-light: #f89fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#f171df",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 308.438,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73625,
    "c": 0.20204,
    "h": 333.1
  },
  "luminance": 0.35839
}

Semantic roles & 50–950 ramp

primary
#F171DF
secondary
#CCF1D2
accent
#DE2507
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F171DF

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

Preview Lab → · Contrast checker → · Palette generator →

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