#F172DA#F172DA

#F172DA is a light, vivid pink. Relative luminance 0.358; OKLCH L 73.5% C 0.197 H 334.8°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#F172DA
RGBrgb(241, 114, 218)
HSLhsl(311, 82%, 70%)
HSVhsv(311, 53%, 95%)
CMYKcmyk(0%, 52.7%, 9.5%, 5.5%)
CIE-LABlab(66.37, 61.49, -30.87)
CIE-LCHlch(66.37, 68.81, 333.34°)
OKLaboklab(73.54% 0.1779 -0.0837)
OKLCHoklch(73.54% 0.197 334.8)
XYZxyz(54.9480, 35.8012, 70.3323)
Luminance0.3580 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172DA #72F189
analogous
#C872F1 #F172DA #F1729B
triadic
#F172DA #DAF172 #72DAF1
tetradic
#F172DA #F1C872 #72F189 #729BF1
square
#F172DA #F1C872 #72F189 #729BF1
split-complementary
#F172DA #9BF172 #72F1C8
monochromatic
#D415B1 #EB3ACB #F172DA #F7AAE9 #FCE1F7

Accessibility & contrast

On white

2.57
#F172DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#F172DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172DA
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172DA#FFFFFF#000000##000000
##F172DA1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7295DD
Deuteranopia (green-blind)
#97A8D7
Tritanopia (blue-blind)
#FB799C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f172da;
/* rgb */ color: rgb(241, 114, 218);
/* oklch */ color: oklch(73.5% 0.197 334.8);
Tailwind
colors: {
  custom: {
    50: '#f89fe5',
    500: '#f172da',
    950: '#000000',
  },
}
SCSS
$custom: #f172da;
$custom-light: #f89fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#f172da",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 218
  },
  "hsl": {
    "h": 310.866,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73535,
    "c": 0.19663,
    "h": 334.8
  },
  "luminance": 0.35797
}

Semantic roles & 50–950 ramp

primary
#F172DA
secondary
#CDF2D4
accent
#DE2E07
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F172DA

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

Preview Lab → · Contrast checker → · Palette generator →

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