#F172D1#F172D1

#F172D1 is a light, vivid pink. Relative luminance 0.353; OKLCH L 73.2% C 0.190 H 338.0°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#F172D1
RGBrgb(241, 114, 209)
HSLhsl(315, 82%, 70%)
HSVhsv(315, 53%, 95%)
CMYKcmyk(0%, 52.7%, 13.3%, 5.5%)
CIE-LABlab(66.01, 60.10, -26.39)
CIE-LCHlch(66.01, 65.64, 336.29°)
OKLaboklab(73.16% 0.1761 -0.0711)
OKLCHoklch(73.16% 0.19 338)
XYZxyz(53.8021, 35.3429, 64.2974)
Luminance0.3534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172D1 #72F192
analogous
#D172F1 #F172D1 #F17292
triadic
#F172D1 #D1F172 #72D1F1
tetradic
#F172D1 #F1D172 #72F192 #7292F1
square
#F172D1 #F1D172 #72F192 #7292F1
split-complementary
#F172D1 #92F172 #72F1D1
monochromatic
#D415A4 #EB3ABF #F172D1 #F7AAE3 #FCE1F5

Accessibility & contrast

On white

2.60
#F172D1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#F172D1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172D1
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172D1#FFFFFF#000000##000000
##F172D11.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7694D4
Deuteranopia (green-blind)
#9AA8CE
Tritanopia (blue-blind)
#FC7698
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f172d1;
/* rgb */ color: rgb(241, 114, 209);
/* oklch */ color: oklch(73.2% 0.190 338.0);
Tailwind
colors: {
  custom: {
    50: '#f89fdf',
    500: '#f172d1',
    950: '#000000',
  },
}
SCSS
$custom: #f172d1;
$custom-light: #f89fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#f172d1",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 209
  },
  "hsl": {
    "h": 315.118,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73158,
    "c": 0.1899,
    "h": 338
  },
  "luminance": 0.35339
}

Semantic roles & 50–950 ramp

primary
#F172D1
secondary
#CDF2D6
accent
#DE3D07
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F172D1

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

Preview Lab → · Contrast checker → · Palette generator →

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