#F172D7#F172D7

#F172D7 is a light, vivid pink. Relative luminance 0.356; OKLCH L 73.4% C 0.194 H 335.8°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#F172D7
RGBrgb(241, 114, 215)
HSLhsl(312, 82%, 70%)
HSVhsv(312, 53%, 95%)
CMYKcmyk(0%, 52.7%, 10.8%, 5.5%)
CIE-LABlab(66.25, 61.02, -29.38)
CIE-LCHlch(66.25, 67.73, 334.29°)
OKLaboklab(73.41% 0.1773 -0.0795)
OKLCHoklch(73.41% 0.194 335.8)
XYZxyz(54.5590, 35.6456, 68.2835)
Luminance0.3564 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172D7 #72F18C
analogous
#CB72F1 #F172D7 #F17298
triadic
#F172D7 #D7F172 #72D7F1
tetradic
#F172D7 #F1CB72 #72F18C #7298F1
square
#F172D7 #F1CB72 #72F18C #7298F1
split-complementary
#F172D7 #98F172 #72F1CB
monochromatic
#D415AD #EB3AC7 #F172D7 #F7AAE7 #FCE1F7

Accessibility & contrast

On white

2.58
#F172D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#F172D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172D7
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172D7#FFFFFF#000000##000000
##F172D71.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f172d7;
/* rgb */ color: rgb(241, 114, 215);
/* oklch */ color: oklch(73.4% 0.194 335.8);
Tailwind
colors: {
  custom: {
    50: '#f89fe3',
    500: '#f172d7',
    950: '#000000',
  },
}
SCSS
$custom: #f172d7;
$custom-light: #f89fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#f172d7",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 215
  },
  "hsl": {
    "h": 312.283,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73407,
    "c": 0.19434,
    "h": 335.8
  },
  "luminance": 0.35642
}

Semantic roles & 50–950 ramp

primary
#F172D7
secondary
#CDF2D5
accent
#DE3307
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F172D7

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

Preview Lab → · Contrast checker → · Palette generator →

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