#F173A1#F173A1

#F173A1 is a light, vivid pink. Relative luminance 0.335; OKLCH L 71.6% C 0.161 H 359.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#F173A1
RGBrgb(241, 115, 161)
HSLhsl(338, 82%, 70%)
HSVhsv(338, 52%, 95%)
CMYKcmyk(0%, 52.3%, 33.2%, 5.5%)
CIE-LABlab(64.60, 53.09, -1.37)
CIE-LCHlch(64.60, 53.11, 358.52°)
OKLaboklab(71.57% 0.1614 -0.0029)
OKLCHoklch(71.57% 0.161 359)
XYZxyz(48.8417, 33.5402, 37.6129)
Luminance0.3353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F173A1 #73F1C3
analogous
#F173E0 #F173A1 #F18473
triadic
#F173A1 #A1F173 #73A1F1
tetradic
#F173A1 #E0F173 #73F1C3 #8473F1
square
#F173A1 #E0F173 #73F1C3 #8473F1
split-complementary
#F173A1 #73F184 #73E0F1
monochromatic
#D4155B #EB3B7C #F173A1 #F7ABC6 #FCE2EC

Accessibility & contrast

On white

2.72
#F173A1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#F173A1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F173A1
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F173A1#FFFFFF#000000##000000
##F173A11.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#878EA2
Deuteranopia (green-blind)
#A8A59E
Tritanopia (blue-blind)
#FF6A84
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f173a1;
/* rgb */ color: rgb(241, 115, 161);
/* oklch */ color: oklch(71.6% 0.161 359.0);
Tailwind
colors: {
  custom: {
    50: '#f99fbc',
    500: '#f173a1',
    950: '#000000',
  },
}
SCSS
$custom: #f173a1;
$custom-light: #f99fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#f173a1",
  "rgb": {
    "r": 241,
    "g": 115,
    "b": 161
  },
  "hsl": {
    "h": 338.095,
    "s": 81.818,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71574,
    "c": 0.16144,
    "h": 359
  },
  "luminance": 0.33535
}

Semantic roles & 50–950 ramp

primary
#F173A1
secondary
#CEF2E5
accent
#DE9007
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F173A1

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

Preview Lab → · Contrast checker → · Palette generator →

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