#F172B7#F172B7

#F172B7 is a light, vivid pink. Relative luminance 0.342; OKLCH L 72.2% C 0.173 H 348.5°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#F172B7
RGBrgb(241, 114, 183)
HSLhsl(327, 82%, 70%)
HSVhsv(327, 53%, 95%)
CMYKcmyk(0%, 52.7%, 24.1%, 5.5%)
CIE-LABlab(65.09, 56.36, -13.15)
CIE-LCHlch(65.09, 57.87, 346.87°)
OKLaboklab(72.16% 0.1697 -0.0344)
OKLCHoklch(72.16% 0.173 348.5)
XYZxyz(50.8418, 34.1587, 48.7062)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172B7 #72F1AC
analogous
#EC72F1 #F172B7 #F17278
triadic
#F172B7 #B7F172 #72B7F1
tetradic
#F172B7 #F1EC72 #72F1AC #7278F1
square
#F172B7 #F1EC72 #72F1AC #7278F1
split-complementary
#F172B7 #78F172 #72F1EC
monochromatic
#D4157D #EB3A9B #F172B7 #F7AAD3 #FCE1F0

Accessibility & contrast

On white

2.68
#F172B7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#F172B7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172B7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172B7#FFFFFF#000000##000000
##F172B71.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8090B9
Deuteranopia (green-blind)
#A2A6B4
Tritanopia (blue-blind)
#FF6F8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f172b7;
/* rgb */ color: rgb(241, 114, 183);
/* oklch */ color: oklch(72.2% 0.173 348.5);
Tailwind
colors: {
  custom: {
    50: '#f99fcc',
    500: '#f172b7',
    950: '#000000',
  },
}
SCSS
$custom: #f172b7;
$custom-light: #f99fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#f172b7",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 183
  },
  "hsl": {
    "h": 327.402,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72164,
    "c": 0.1731,
    "h": 348.5
  },
  "luminance": 0.34154
}

Semantic roles & 50–950 ramp

primary
#F172B7
secondary
#CDF2DE
accent
#DE6907
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F172B7

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

Preview Lab → · Contrast checker → · Palette generator →

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