#F171E2#F171E2

#F171E2 is a light, highly saturated purple. Relative luminance 0.360; OKLCH L 73.8% C 0.204 H 332.1°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#F171E2
RGBrgb(241, 113, 226)
HSLhsl(307, 82%, 69%)
HSVhsv(307, 53%, 95%)
CMYKcmyk(0%, 53.1%, 6.2%, 5.5%)
CIE-LABlab(66.52, 63.23, -35.08)
CIE-LCHlch(66.52, 72.31, 330.98°)
OKLaboklab(73.76% 0.1807 -0.0957)
OKLCHoklch(73.76% 0.204 332.1)
XYZxyz(55.9080, 36.0057, 75.9419)
Luminance0.3600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171E2 #71F180
analogous
#C071F1 #F171E2 #F171A2
triadic
#F171E2 #E2F171 #71E2F1
tetradic
#F171E2 #F1C071 #71F180 #71A2F1
square
#F171E2 #F1C071 #71F180 #71A2F1
split-complementary
#F171E2 #A2F171 #71F1C0
monochromatic
#D315BD #EC39D7 #F171E2 #F6A9ED #FCE0F9

Accessibility & contrast

On white

2.56
#F171E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#F171E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171E2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171E2#FFFFFF#000000##000000
##F171E21.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D96E6
Deuteranopia (green-blind)
#93A8DE
Tritanopia (blue-blind)
#FA7BA0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f171e2;
/* rgb */ color: rgb(241, 113, 226);
/* oklch */ color: oklch(73.8% 0.204 332.1);
Tailwind
colors: {
  custom: {
    50: '#f89feb',
    500: '#f171e2',
    950: '#000000',
  },
}
SCSS
$custom: #f171e2;
$custom-light: #f89feb;
$custom-dark: #000000;
JSON
{
  "hex": "#f171e2",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 307.031,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73758,
    "c": 0.20442,
    "h": 332.1
  },
  "luminance": 0.36002
}

Semantic roles & 50–950 ramp

primary
#F171E2
secondary
#CCF1D1
accent
#DE2007
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F171E2

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

Preview Lab → · Contrast checker → · Palette generator →

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