#F172D5#F172D5

#F172D5 is a light, vivid pink. Relative luminance 0.355; OKLCH L 73.3% C 0.193 H 336.6°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#F172D5
RGBrgb(241, 114, 213)
HSLhsl(313, 82%, 70%)
HSVhsv(313, 53%, 95%)
CMYKcmyk(0%, 52.7%, 11.6%, 5.5%)
CIE-LABlab(66.17, 60.71, -28.39)
CIE-LCHlch(66.17, 67.02, 334.94°)
OKLaboklab(73.32% 0.1769 -0.0767)
OKLCHoklch(73.32% 0.193 336.6)
XYZxyz(54.3036, 35.5434, 66.9383)
Luminance0.3554 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172D5 #72F18E
analogous
#CD72F1 #F172D5 #F17296
triadic
#F172D5 #D5F172 #72D5F1
tetradic
#F172D5 #F1CD72 #72F18E #7296F1
square
#F172D5 #F1CD72 #72F18E #7296F1
split-complementary
#F172D5 #96F172 #72F1CD
monochromatic
#D415AA #EB3AC4 #F172D5 #F7AAE6 #FCE1F6

Accessibility & contrast

On white

2.59
#F172D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#F172D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172D5
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172D5#FFFFFF#000000##000000
##F172D51.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7495D8
Deuteranopia (green-blind)
#98A8D2
Tritanopia (blue-blind)
#FC779A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f172d5;
/* rgb */ color: rgb(241, 114, 213);
/* oklch */ color: oklch(73.3% 0.193 336.6);
Tailwind
colors: {
  custom: {
    50: '#f89fe2',
    500: '#f172d5',
    950: '#000000',
  },
}
SCSS
$custom: #f172d5;
$custom-light: #f89fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#f172d5",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 213
  },
  "hsl": {
    "h": 313.228,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73323,
    "c": 0.19284,
    "h": 336.6
  },
  "luminance": 0.35539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F172D5

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

Preview Lab → · Contrast checker → · Palette generator →

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