#F172C1#F172C1

#F172C1 is a light, vivid pink. Relative luminance 0.346; OKLCH L 72.5% C 0.179 H 344.3°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#F172C1
RGBrgb(241, 114, 193)
HSLhsl(323, 82%, 70%)
HSVhsv(323, 53%, 95%)
CMYKcmyk(0%, 52.7%, 19.9%, 5.5%)
CIE-LABlab(65.43, 57.75, -18.29)
CIE-LCHlch(65.43, 60.57, 342.42°)
OKLaboklab(72.53% 0.1723 -0.0485)
OKLCHoklch(72.53% 0.179 344.3)
XYZxyz(51.9198, 34.5899, 54.3838)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172C1 #72F1A2
analogous
#E172F1 #F172C1 #F17282
triadic
#F172C1 #C1F172 #72C1F1
tetradic
#F172C1 #F1E172 #72F1A2 #7282F1
square
#F172C1 #F1E172 #72F1A2 #7282F1
split-complementary
#F172C1 #82F172 #72F1E1
monochromatic
#D4158C #EB3AA9 #F172C1 #F7AAD9 #FCE1F2

Accessibility & contrast

On white

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

On black

7.92
#F172C1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172C1
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172C1#FFFFFF#000000##000000
##F172C11.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C92C4
Deuteranopia (green-blind)
#9FA7BE
Tritanopia (blue-blind)
#FF7191
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f172c1;
/* rgb */ color: rgb(241, 114, 193);
/* oklch */ color: oklch(72.5% 0.179 344.3);
Tailwind
colors: {
  custom: {
    50: '#f89fd3',
    500: '#f172c1',
    950: '#000000',
  },
}
SCSS
$custom: #f172c1;
$custom-light: #f89fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#f172c1",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 193
  },
  "hsl": {
    "h": 322.677,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72529,
    "c": 0.17904,
    "h": 344.3
  },
  "luminance": 0.34586
}

Semantic roles & 50–950 ramp

primary
#F172C1
secondary
#CDF2DB
accent
#DE5807
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#180F14
muted
#867F82

Preview Lab

Preview with #F172C1

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

Preview Lab → · Contrast checker → · Palette generator →

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