#F172D8#F172D8

#F172D8 is a light, vivid pink. Relative luminance 0.357; OKLCH L 73.5% C 0.195 H 335.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#F172D8
RGBrgb(241, 114, 216)
HSLhsl(312, 82%, 70%)
HSVhsv(312, 53%, 95%)
CMYKcmyk(0%, 52.7%, 10.4%, 5.5%)
CIE-LABlab(66.29, 61.18, -29.88)
CIE-LCHlch(66.29, 68.09, 333.97°)
OKLaboklab(73.45% 0.1775 -0.0809)
OKLCHoklch(73.45% 0.195 335.5)
XYZxyz(54.6879, 35.6972, 68.9623)
Luminance0.3569 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172D8 #72F18B
analogous
#CB72F1 #F172D8 #F17299
triadic
#F172D8 #D8F172 #72D8F1
tetradic
#F172D8 #F1CB72 #72F18B #7299F1
square
#F172D8 #F1CB72 #72F18B #7299F1
split-complementary
#F172D8 #99F172 #72F1CB
monochromatic
#D415AE #EB3AC9 #F172D8 #F7AAE7 #FCE1F7

Accessibility & contrast

On white

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

On black

8.14
#F172D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172D8
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172D8#FFFFFF#000000##000000
##F172D81.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7395DB
Deuteranopia (green-blind)
#97A8D5
Tritanopia (blue-blind)
#FB789B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f172d8;
/* rgb */ color: rgb(241, 114, 216);
/* oklch */ color: oklch(73.5% 0.195 335.5);
Tailwind
colors: {
  custom: {
    50: '#f89fe4',
    500: '#f172d8',
    950: '#000000',
  },
}
SCSS
$custom: #f172d8;
$custom-light: #f89fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#f172d8",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 216
  },
  "hsl": {
    "h": 311.811,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7345,
    "c": 0.1951,
    "h": 335.5
  },
  "luminance": 0.35693
}

Semantic roles & 50–950 ramp

primary
#F172D8
secondary
#CDF2D4
accent
#DE3207
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F172D8

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

Preview Lab → · Contrast checker → · Palette generator →

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