#F172C8#F172C8

#F172C8 is a light, vivid pink. Relative luminance 0.349; OKLCH L 72.8% C 0.184 H 341.5°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#F172C8
RGBrgb(241, 114, 200)
HSLhsl(319, 82%, 70%)
HSVhsv(319, 53%, 95%)
CMYKcmyk(0%, 52.7%, 17%, 5.5%)
CIE-LABlab(65.68, 58.75, -21.85)
CIE-LCHlch(65.68, 62.69, 339.60°)
OKLaboklab(72.8% 0.1741 -0.0584)
OKLCHoklch(72.8% 0.184 341.5)
XYZxyz(52.7192, 34.9097, 58.5940)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172C8 #72F19B
analogous
#DA72F1 #F172C8 #F17289
triadic
#F172C8 #C8F172 #72C8F1
tetradic
#F172C8 #F1DA72 #72F19B #7289F1
square
#F172C8 #F1DA72 #72F19B #7289F1
split-complementary
#F172C8 #89F172 #72F1DA
monochromatic
#D41596 #EB3AB2 #F172C8 #F7AADE #FCE1F3

Accessibility & contrast

On white

2.63
#F172C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#F172C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172C8
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172C8#FFFFFF#000000##000000
##F172C81.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CB
Deuteranopia (green-blind)
#9DA7C5
Tritanopia (blue-blind)
#FE7394
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f172c8;
/* rgb */ color: rgb(241, 114, 200);
/* oklch */ color: oklch(72.8% 0.184 341.5);
Tailwind
colors: {
  custom: {
    50: '#f89fd8',
    500: '#f172c8',
    950: '#000000',
  },
}
SCSS
$custom: #f172c8;
$custom-light: #f89fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#f172c8",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 319.37,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72797,
    "c": 0.1836,
    "h": 341.5
  },
  "luminance": 0.34906
}

Semantic roles & 50–950 ramp

primary
#F172C8
secondary
#CDF2D9
accent
#DE4D07
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F172C8

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

Preview Lab → · Contrast checker → · Palette generator →

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