#F173E2#F173E2

#F173E2 is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.0% C 0.201 H 332.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#F173E2
RGBrgb(241, 115, 226)
HSLhsl(307, 82%, 70%)
HSVhsv(307, 52%, 95%)
CMYKcmyk(0%, 52.3%, 6.2%, 5.5%)
CIE-LABlab(66.87, 62.31, -34.55)
CIE-LCHlch(66.87, 71.25, 330.99°)
OKLaboklab(74.01% 0.178 -0.0942)
OKLCHoklch(74.01% 0.201 332.1)
XYZxyz(56.1336, 36.4569, 76.0170)
Luminance0.3645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F173E2 #73F182
analogous
#C173F1 #F173E2 #F173A3
triadic
#F173E2 #E2F173 #73E2F1
tetradic
#F173E2 #F1C173 #73F182 #73A3F1
square
#F173E2 #F1C173 #73F182 #73A3F1
split-complementary
#F173E2 #A3F173 #73F1C1
monochromatic
#D415BE #EB3BD6 #F173E2 #F7ABEE #FCE2F9

Accessibility & contrast

On white

2.53
#F173E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#F173E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F173E2
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F173E2#FFFFFF#000000##000000
##F173E21.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E6
Deuteranopia (green-blind)
#94A9DE
Tritanopia (blue-blind)
#FA7CA0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f173e2;
/* rgb */ color: rgb(241, 115, 226);
/* oklch */ color: oklch(74.0% 0.201 332.1);
Tailwind
colors: {
  custom: {
    50: '#f8a0eb',
    500: '#f173e2',
    950: '#000000',
  },
}
SCSS
$custom: #f173e2;
$custom-light: #f8a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f173e2",
  "rgb": {
    "r": 241,
    "g": 115,
    "b": 226
  },
  "hsl": {
    "h": 307.143,
    "s": 81.818,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74011,
    "c": 0.20138,
    "h": 332.1
  },
  "luminance": 0.36453
}

Semantic roles & 50–950 ramp

primary
#F173E2
secondary
#CEF2D2
accent
#DE2107
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F173E2

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

Preview Lab → · Contrast checker → · Palette generator →

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