#F170E2#F170E2

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

Color values

HEX#F170E2
RGBrgb(241, 112, 226)
HSLhsl(307, 82%, 69%)
HSVhsv(307, 54%, 95%)
CMYKcmyk(0%, 53.5%, 6.2%, 5.5%)
CIE-LABlab(66.35, 63.68, -35.35)
CIE-LCHlch(66.35, 72.84, 330.97°)
OKLaboklab(73.63% 0.182 -0.0964)
OKLCHoklch(73.63% 0.206 332.1)
XYZxyz(55.7971, 35.7838, 75.9049)
Luminance0.3578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170E2 #70F17F
analogous
#C070F1 #F170E2 #F170A2
triadic
#F170E2 #E2F170 #70E2F1
tetradic
#F170E2 #F1C070 #70F17F #70A2F1
square
#F170E2 #F1C070 #70F17F #70A2F1
split-complementary
#F170E2 #A2F170 #70F1C0
monochromatic
#D215BC #EC38D7 #F170E2 #F6A8ED #FCDFF9

Accessibility & contrast

On white

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

On black

8.16
#F170E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170E2
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170E2#FFFFFF#000000##000000
##F170E21.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E6
Deuteranopia (green-blind)
#92A8DE
Tritanopia (blue-blind)
#FA7A9F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f170e2;
/* rgb */ color: rgb(241, 112, 226);
/* oklch */ color: oklch(73.6% 0.206 332.1);
Tailwind
colors: {
  custom: {
    50: '#f89eeb',
    500: '#f170e2',
    950: '#000000',
  },
}
SCSS
$custom: #f170e2;
$custom-light: #f89eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#f170e2",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 226
  },
  "hsl": {
    "h": 306.977,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73633,
    "c": 0.20593,
    "h": 332.1
  },
  "luminance": 0.3578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F170E2

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

Preview Lab → · Contrast checker → · Palette generator →

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