#F172CA#F172CA

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

Color values

HEX#F172CA
RGBrgb(241, 114, 202)
HSLhsl(318, 82%, 70%)
HSVhsv(318, 53%, 95%)
CMYKcmyk(0%, 52.7%, 16.2%, 5.5%)
CIE-LABlab(65.75, 59.05, -22.87)
CIE-LCHlch(65.75, 63.32, 338.83°)
OKLaboklab(72.88% 0.1745 -0.0612)
OKLCHoklch(72.88% 0.185 340.7)
XYZxyz(52.9545, 35.0038, 59.8330)
Luminance0.3500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172CA #72F199
analogous
#D872F1 #F172CA #F1728B
triadic
#F172CA #CAF172 #72CAF1
tetradic
#F172CA #F1D872 #72F199 #728BF1
square
#F172CA #F1D872 #72F199 #728BF1
split-complementary
#F172CA #8BF172 #72F1D8
monochromatic
#D41599 #EB3AB5 #F172CA #F7AADF #FCE1F4

Accessibility & contrast

On white

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

On black

8.00
#F172CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172CA
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172CA#FFFFFF#000000##000000
##F172CA1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#9CA7C7
Tritanopia (blue-blind)
#FD7495
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f172ca;
/* rgb */ color: rgb(241, 114, 202);
/* oklch */ color: oklch(72.9% 0.185 340.7);
Tailwind
colors: {
  custom: {
    50: '#f89fda',
    500: '#f172ca',
    950: '#000000',
  },
}
SCSS
$custom: #f172ca;
$custom-light: #f89fda;
$custom-dark: #000000;
JSON
{
  "hex": "#f172ca",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 318.425,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72876,
    "c": 0.18496,
    "h": 340.7
  },
  "luminance": 0.35
}

Semantic roles & 50–950 ramp

primary
#F172CA
secondary
#CDF2D8
accent
#DE4907
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F172CA

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

Preview Lab → · Contrast checker → · Palette generator →

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