#F172C4#F172C4

#F172C4 is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.6% C 0.181 H 343.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#F172C4
RGBrgb(241, 114, 196)
HSLhsl(321, 82%, 70%)
HSVhsv(321, 53%, 95%)
CMYKcmyk(0%, 52.7%, 18.7%, 5.5%)
CIE-LABlab(65.53, 58.17, -19.82)
CIE-LCHlch(65.53, 61.46, 341.18°)
OKLaboklab(72.64% 0.1731 -0.0527)
OKLCHoklch(72.64% 0.181 343.1)
XYZxyz(52.2579, 34.7252, 56.1642)
Luminance0.3472 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172C4 #72F19F
analogous
#DF72F1 #F172C4 #F17285
triadic
#F172C4 #C4F172 #72C4F1
tetradic
#F172C4 #F1DF72 #72F19F #7285F1
square
#F172C4 #F1DF72 #72F19F #7285F1
split-complementary
#F172C4 #85F172 #72F1DF
monochromatic
#D41590 #EB3AAD #F172C4 #F7AADB #FCE1F3

Accessibility & contrast

On white

2.64
#F172C4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#F172C4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172C4
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172C4#FFFFFF#000000##000000
##F172C41.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B92C7
Deuteranopia (green-blind)
#9EA7C1
Tritanopia (blue-blind)
#FE7292
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f172c4;
/* rgb */ color: rgb(241, 114, 196);
/* oklch */ color: oklch(72.6% 0.181 343.1);
Tailwind
colors: {
  custom: {
    50: '#f89fd6',
    500: '#f172c4',
    950: '#000000',
  },
}
SCSS
$custom: #f172c4;
$custom-light: #f89fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#f172c4",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 196
  },
  "hsl": {
    "h": 321.26,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72643,
    "c": 0.18096,
    "h": 343.1
  },
  "luminance": 0.34721
}

Semantic roles & 50–950 ramp

primary
#F172C4
secondary
#CDF2DA
accent
#DE5307
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F172C4

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

Preview Lab → · Contrast checker → · Palette generator →

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