#F172CB#F172CB

#F172CB is a light, vivid pink. Relative luminance 0.350; OKLCH L 72.9% C 0.186 H 340.3°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#F172CB
RGBrgb(241, 114, 203)
HSLhsl(318, 82%, 70%)
HSVhsv(318, 53%, 95%)
CMYKcmyk(0%, 52.7%, 15.8%, 5.5%)
CIE-LABlab(65.79, 59.20, -23.37)
CIE-LCHlch(65.79, 63.64, 338.46°)
OKLaboklab(72.92% 0.1748 -0.0626)
OKLCHoklch(72.92% 0.186 340.3)
XYZxyz(53.0733, 35.0513, 60.4586)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172CB #72F198
analogous
#D872F1 #F172CB #F1728C
triadic
#F172CB #CBF172 #72CBF1
tetradic
#F172CB #F1D872 #72F198 #728CF1
square
#F172CB #F1D872 #72F198 #728CF1
split-complementary
#F172CB #8CF172 #72F1D8
monochromatic
#D4159B #EB3AB6 #F172CB #F7AAE0 #FCE1F4

Accessibility & contrast

On white

2.62
#F172CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#F172CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172CB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172CB#FFFFFF#000000##000000
##F172CB1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CE
Deuteranopia (green-blind)
#9CA7C8
Tritanopia (blue-blind)
#FD7495
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f172cb;
/* rgb */ color: rgb(241, 114, 203);
/* oklch */ color: oklch(72.9% 0.186 340.3);
Tailwind
colors: {
  custom: {
    50: '#f89fdb',
    500: '#f172cb',
    950: '#000000',
  },
}
SCSS
$custom: #f172cb;
$custom-light: #f89fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#f172cb",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 317.953,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72916,
    "c": 0.18565,
    "h": 340.3
  },
  "luminance": 0.35047
}

Semantic roles & 50–950 ramp

primary
#F172CB
secondary
#CDF2D8
accent
#DE4807
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F172CB

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

Preview Lab → · Contrast checker → · Palette generator →

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