#F170F2#F170F2

#F170F2 is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.4% C 0.219 H 327.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#F170F2
RGBrgb(241, 112, 242)
HSLhsl(300, 83%, 69%)
HSVhsv(300, 54%, 95%)
CMYKcmyk(0.4%, 53.7%, 0%, 5.1%)
CIE-LABlab(67.05, 66.34, -43.11)
CIE-LCHlch(67.05, 79.12, 326.98°)
OKLaboklab(74.38% 0.1842 -0.1187)
OKLCHoklch(74.38% 0.219 327.2)
XYZxyz(58.0958, 36.7033, 88.0116)
Luminance0.3670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170F2 #71F270
analogous
#B070F2 #F170F2 #F270B2
triadic
#F170F2 #F2F170 #70F2F1
tetradic
#F170F2 #F2B070 #71F270 #70B2F2
square
#F170F2 #F2B070 #71F270 #70B2F2
split-complementary
#F170F2 #B2F270 #70F2B0
monochromatic
#D313D4 #EC38ED #F170F2 #F6A8F7 #FCE0FC

Accessibility & contrast

On white

2.52
#F170F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#F170F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170F2
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170F2#FFFFFF#000000##000000
##F170F21.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#8BA9EE
Tritanopia (blue-blind)
#F77FA7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f170f2;
/* rgb */ color: rgb(241, 112, 242);
/* oklch */ color: oklch(74.4% 0.219 327.2);
Tailwind
colors: {
  custom: {
    50: '#f89ff7',
    500: '#f170f2',
    950: '#000000',
  },
}
SCSS
$custom: #f170f2;
$custom-light: #f89ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#f170f2",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 299.538,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74376,
    "c": 0.21909,
    "h": 327.2
  },
  "luminance": 0.367
}

Semantic roles & 50–950 ramp

primary
#F170F2
secondary
#CCF2CC
accent
#E00607
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F170F2

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

Preview Lab → · Contrast checker → · Palette generator →

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