#F171E8#F171E8

#F171E8 is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.0% C 0.209 H 330.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#F171E8
RGBrgb(241, 113, 232)
HSLhsl(304, 82%, 69%)
HSVhsv(304, 53%, 95%)
CMYKcmyk(0%, 53.1%, 3.7%, 5.5%)
CIE-LABlab(66.78, 64.21, -38.01)
CIE-LCHlch(66.78, 74.62, 329.37°)
OKLaboklab(74.03% 0.1816 -0.104)
OKLCHoklch(74.03% 0.209 330.2)
XYZxyz(56.7458, 36.3408, 80.3539)
Luminance0.3634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171E8 #71F17A
analogous
#BA71F1 #F171E8 #F171A8
triadic
#F171E8 #E8F171 #71E8F1
tetradic
#F171E8 #F1BA71 #71F17A #71A8F1
square
#F171E8 #F1BA71 #71F17A #71A8F1
split-complementary
#F171E8 #A8F171 #71F1BA
monochromatic
#D315C5 #EC39DF #F171E8 #F6A9F1 #FCE0FA

Accessibility & contrast

On white

2.54
#F171E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#F171E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171E8
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171E8#FFFFFF#000000##000000
##F171E81.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6997EC
Deuteranopia (green-blind)
#91A9E4
Tritanopia (blue-blind)
#F97DA2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f171e8;
/* rgb */ color: rgb(241, 113, 232);
/* oklch */ color: oklch(74.0% 0.209 330.2);
Tailwind
colors: {
  custom: {
    50: '#f89fef',
    500: '#f171e8',
    950: '#000000',
  },
}
SCSS
$custom: #f171e8;
$custom-light: #f89fef;
$custom-dark: #000000;
JSON
{
  "hex": "#f171e8",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 304.219,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7403,
    "c": 0.20928,
    "h": 330.2
  },
  "luminance": 0.36337
}

Semantic roles & 50–950 ramp

primary
#F171E8
secondary
#CCF1CF
accent
#DE1607
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F171E8

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

Preview Lab → · Contrast checker → · Palette generator →

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