#F173A7#F173A7

#F173A7 is a light, vivid pink. Relative luminance 0.338; OKLCH L 71.8% C 0.164 H 356.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#F173A7
RGBrgb(241, 115, 167)
HSLhsl(335, 82%, 70%)
HSVhsv(335, 52%, 95%)
CMYKcmyk(0%, 52.3%, 30.7%, 5.5%)
CIE-LABlab(64.77, 53.82, -4.54)
CIE-LCHlch(64.77, 54.01, 355.18°)
OKLaboklab(71.76% 0.1634 -0.0112)
OKLCHoklch(71.76% 0.164 356.1)
XYZxyz(49.3835, 33.7569, 40.4666)
Luminance0.3375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F173A7 #73F1BD
analogous
#F173E6 #F173A7 #F17E73
triadic
#F173A7 #A7F173 #73A7F1
tetradic
#F173A7 #E6F173 #73F1BD #7E73F1
square
#F173A7 #E6F173 #73F1BD #7E73F1
split-complementary
#F173A7 #73F17E #73E6F1
monochromatic
#D41564 #EB3B84 #F173A7 #F7ABCA #FCE2ED

Accessibility & contrast

On white

2.71
#F173A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#F173A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F173A7
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F173A7#FFFFFF#000000##000000
##F173A71.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#858FA9
Deuteranopia (green-blind)
#A6A6A4
Tritanopia (blue-blind)
#FF6B86
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f173a7;
/* rgb */ color: rgb(241, 115, 167);
/* oklch */ color: oklch(71.8% 0.164 356.1);
Tailwind
colors: {
  custom: {
    50: '#f99fc1',
    500: '#f173a7',
    950: '#000000',
  },
}
SCSS
$custom: #f173a7;
$custom-light: #f99fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#f173a7",
  "rgb": {
    "r": 241,
    "g": 115,
    "b": 167
  },
  "hsl": {
    "h": 335.238,
    "s": 81.818,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71761,
    "c": 0.16376,
    "h": 356.1
  },
  "luminance": 0.33752
}

Semantic roles & 50–950 ramp

primary
#F173A7
secondary
#CEF2E3
accent
#DE8607
background
#FFFAFB
surface
#FFF3F7
border
#D7CDD0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F173A7

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

Preview Lab → · Contrast checker → · Palette generator →

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