#F171E4#F171E4

#F171E4 is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 73.8% C 0.206 H 331.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#F171E4
RGBrgb(241, 113, 228)
HSLhsl(306, 82%, 69%)
HSVhsv(306, 53%, 95%)
CMYKcmyk(0%, 53.1%, 5.4%, 5.5%)
CIE-LABlab(66.61, 63.55, -36.06)
CIE-LCHlch(66.61, 73.07, 330.43°)
OKLaboklab(73.85% 0.181 -0.0985)
OKLCHoklch(73.85% 0.206 331.4)
XYZxyz(56.1841, 36.1161, 77.3956)
Luminance0.3611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171E4 #71F17E
analogous
#BE71F1 #F171E4 #F171A4
triadic
#F171E4 #E4F171 #71E4F1
tetradic
#F171E4 #F1BE71 #71F17E #71A4F1
square
#F171E4 #F1BE71 #71F17E #71A4F1
split-complementary
#F171E4 #A4F171 #71F1BE
monochromatic
#D315C0 #EC39D9 #F171E4 #F6A9EF #FCE0F9

Accessibility & contrast

On white

2.55
#F171E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#F171E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171E4
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171E4#FFFFFF#000000##000000
##F171E41.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C97E8
Deuteranopia (green-blind)
#92A9E0
Tritanopia (blue-blind)
#FA7BA1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f171e4;
/* rgb */ color: rgb(241, 113, 228);
/* oklch */ color: oklch(73.8% 0.206 331.4);
Tailwind
colors: {
  custom: {
    50: '#f89fed',
    500: '#f171e4',
    950: '#000000',
  },
}
SCSS
$custom: #f171e4;
$custom-light: #f89fed;
$custom-dark: #000000;
JSON
{
  "hex": "#f171e4",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 306.094,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73848,
    "c": 0.20603,
    "h": 331.4
  },
  "luminance": 0.36112
}

Semantic roles & 50–950 ramp

primary
#F171E4
secondary
#CCF1D0
accent
#DE1D07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F171E4

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

Preview Lab → · Contrast checker → · Palette generator →

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