#F172C2#F172C2

#F172C2 is a light, vivid pink. Relative luminance 0.346; OKLCH L 72.6% C 0.180 H 343.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#F172C2
RGBrgb(241, 114, 194)
HSLhsl(322, 82%, 70%)
HSVhsv(322, 53%, 95%)
CMYKcmyk(0%, 52.7%, 19.5%, 5.5%)
CIE-LABlab(65.46, 57.89, -18.80)
CIE-LCHlch(65.46, 60.86, 342.01°)
OKLaboklab(72.57% 0.1726 -0.0499)
OKLCHoklch(72.57% 0.18 343.9)
XYZxyz(52.0317, 34.6347, 54.9732)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172C2 #72F1A1
analogous
#E172F1 #F172C2 #F17283
triadic
#F172C2 #C2F172 #72C2F1
tetradic
#F172C2 #F1E172 #72F1A1 #7283F1
square
#F172C2 #F1E172 #72F1A1 #7283F1
split-complementary
#F172C2 #83F172 #72F1E1
monochromatic
#D4158D #EB3AAA #F172C2 #F7AADA #FCE1F2

Accessibility & contrast

On white

2.65
#F172C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#F172C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172C2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172C2#FFFFFF#000000##000000
##F172C21.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C92C5
Deuteranopia (green-blind)
#9FA7BF
Tritanopia (blue-blind)
#FE7291
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f172c2;
/* rgb */ color: rgb(241, 114, 194);
/* oklch */ color: oklch(72.6% 0.180 343.9);
Tailwind
colors: {
  custom: {
    50: '#f89fd4',
    500: '#f172c2',
    950: '#000000',
  },
}
SCSS
$custom: #f172c2;
$custom-light: #f89fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#f172c2",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 194
  },
  "hsl": {
    "h": 322.205,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72567,
    "c": 0.17966,
    "h": 343.9
  },
  "luminance": 0.3463
}

Semantic roles & 50–950 ramp

primary
#F172C2
secondary
#CDF2DB
accent
#DE5707
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F172C2

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

Preview Lab → · Contrast checker → · Palette generator →

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