#F173D7#F173D7

#F173D7 is a light, vivid pink. Relative luminance 0.359; OKLCH L 73.5% C 0.193 H 335.9°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#F173D7
RGBrgb(241, 115, 215)
HSLhsl(312, 82%, 70%)
HSVhsv(312, 52%, 95%)
CMYKcmyk(0%, 52.3%, 10.8%, 5.5%)
CIE-LABlab(66.42, 60.56, -29.12)
CIE-LCHlch(66.42, 67.19, 334.32°)
OKLaboklab(73.54% 0.176 -0.0788)
OKLCHoklch(73.54% 0.193 335.9)
XYZxyz(54.6724, 35.8724, 68.3213)
Luminance0.3587 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F173D7 #73F18D
analogous
#CC73F1 #F173D7 #F17398
triadic
#F173D7 #D7F173 #73D7F1
tetradic
#F173D7 #F1CC73 #73F18D #7398F1
square
#F173D7 #F1CC73 #73F18D #7398F1
split-complementary
#F173D7 #98F173 #73F1CC
monochromatic
#D415AD #EB3BC7 #F173D7 #F7ABE7 #FCE2F7

Accessibility & contrast

On white

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

On black

8.17
#F173D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F173D7
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F173D7#FFFFFF#000000##000000
##F173D71.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7496DA
Deuteranopia (green-blind)
#98A8D4
Tritanopia (blue-blind)
#FC799B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f173d7;
/* rgb */ color: rgb(241, 115, 215);
/* oklch */ color: oklch(73.5% 0.193 335.9);
Tailwind
colors: {
  custom: {
    50: '#f8a0e3',
    500: '#f173d7',
    950: '#000000',
  },
}
SCSS
$custom: #f173d7;
$custom-light: #f8a0e3;
$custom-dark: #000000;
JSON
{
  "hex": "#f173d7",
  "rgb": {
    "r": 241,
    "g": 115,
    "b": 215
  },
  "hsl": {
    "h": 312.381,
    "s": 81.818,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73536,
    "c": 0.1928,
    "h": 335.9
  },
  "luminance": 0.35869
}

Semantic roles & 50–950 ramp

primary
#F173D7
secondary
#CEF2D5
accent
#DE3407
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F173D7

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

Preview Lab → · Contrast checker → · Palette generator →

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