#F172DB#F172DB

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

Color values

HEX#F172DB
RGBrgb(241, 114, 219)
HSLhsl(310, 82%, 70%)
HSVhsv(310, 53%, 95%)
CMYKcmyk(0%, 52.7%, 9.1%, 5.5%)
CIE-LABlab(66.41, 61.65, -31.37)
CIE-LCHlch(66.41, 69.17, 333.03°)
OKLaboklab(73.58% 0.1781 -0.0851)
OKLCHoklch(73.58% 0.197 334.5)
XYZxyz(55.0793, 35.8537, 71.0235)
Luminance0.3585 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172DB #72F188
analogous
#C872F1 #F172DB #F1729C
triadic
#F172DB #DBF172 #72DBF1
tetradic
#F172DB #F1C872 #72F188 #729CF1
square
#F172DB #F1C872 #72F188 #729CF1
split-complementary
#F172DB #9CF172 #72F1C8
monochromatic
#D415B3 #EB3ACD #F172DB #F7AAE9 #FCE1F7

Accessibility & contrast

On white

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

On black

8.17
#F172DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172DB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172DB#FFFFFF#000000##000000
##F172DB1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196DE
Deuteranopia (green-blind)
#96A8D8
Tritanopia (blue-blind)
#FB799D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f172db;
/* rgb */ color: rgb(241, 114, 219);
/* oklch */ color: oklch(73.6% 0.197 334.5);
Tailwind
colors: {
  custom: {
    50: '#f89fe6',
    500: '#f172db',
    950: '#000000',
  },
}
SCSS
$custom: #f172db;
$custom-light: #f89fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#f172db",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 310.394,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73578,
    "c": 0.1974,
    "h": 334.5
  },
  "luminance": 0.3585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F172DB

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

Preview Lab → · Contrast checker → · Palette generator →

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