#F172BF#F172BF

#F172BF is a light, vivid pink. Relative luminance 0.345; OKLCH L 72.5% C 0.178 H 345.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#F172BF
RGBrgb(241, 114, 191)
HSLhsl(324, 82%, 70%)
HSVhsv(324, 53%, 95%)
CMYKcmyk(0%, 52.7%, 20.7%, 5.5%)
CIE-LABlab(65.36, 57.46, -17.27)
CIE-LCHlch(65.36, 60.00, 343.27°)
OKLaboklab(72.45% 0.1718 -0.0457)
OKLCHoklch(72.45% 0.178 345.1)
XYZxyz(51.6982, 34.5013, 53.2167)
Luminance0.3450 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172BF #72F1A4
analogous
#E372F1 #F172BF #F17280
triadic
#F172BF #BFF172 #72BFF1
tetradic
#F172BF #F1E372 #72F1A4 #7280F1
square
#F172BF #F1E372 #72F1A4 #7280F1
split-complementary
#F172BF #80F172 #72F1E3
monochromatic
#D41589 #EB3AA6 #F172BF #F7AAD8 #FCE1F2

Accessibility & contrast

On white

2.66
#F172BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#F172BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172BF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172BF#FFFFFF#000000##000000
##F172BF1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91C2
Deuteranopia (green-blind)
#A0A7BC
Tritanopia (blue-blind)
#FF7190
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f172bf;
/* rgb */ color: rgb(241, 114, 191);
/* oklch */ color: oklch(72.5% 0.178 345.1);
Tailwind
colors: {
  custom: {
    50: '#f89fd2',
    500: '#f172bf',
    950: '#000000',
  },
}
SCSS
$custom: #f172bf;
$custom-light: #f89fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#f172bf",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 323.622,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72454,
    "c": 0.17779,
    "h": 345.1
  },
  "luminance": 0.34497
}

Semantic roles & 50–950 ramp

primary
#F172BF
secondary
#CDF2DC
accent
#DE5C07
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#180F14
muted
#867F82

Preview Lab

Preview with #F172BF

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

Preview Lab → · Contrast checker → · Palette generator →

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