#F172B4#F172B4

#F172B4 is a light, vivid pink. Relative luminance 0.340; OKLCH L 72.1% C 0.171 H 349.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#F172B4
RGBrgb(241, 114, 180)
HSLhsl(329, 82%, 70%)
HSVhsv(329, 53%, 95%)
CMYKcmyk(0%, 52.7%, 25.3%, 5.5%)
CIE-LABlab(64.99, 55.96, -11.60)
CIE-LCHlch(64.99, 57.15, 348.29°)
OKLaboklab(72.06% 0.1688 -0.0302)
OKLCHoklch(72.06% 0.171 349.9)
XYZxyz(50.5329, 34.0352, 47.0792)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172B4 #72F1AF
analogous
#EE72F1 #F172B4 #F17275
triadic
#F172B4 #B4F172 #72B4F1
tetradic
#F172B4 #F1EE72 #72F1AF #7275F1
square
#F172B4 #F1EE72 #72F1AF #7275F1
split-complementary
#F172B4 #75F172 #72F1EE
monochromatic
#D41578 #EB3A96 #F172B4 #F7AAD2 #FCE1EF

Accessibility & contrast

On white

2.69
#F172B4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#F172B4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172B4
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172B4#FFFFFF#000000##000000
##F172B41.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8090B6
Deuteranopia (green-blind)
#A3A6B1
Tritanopia (blue-blind)
#FF6E8B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f172b4;
/* rgb */ color: rgb(241, 114, 180);
/* oklch */ color: oklch(72.1% 0.171 349.9);
Tailwind
colors: {
  custom: {
    50: '#f99fca',
    500: '#f172b4',
    950: '#000000',
  },
}
SCSS
$custom: #f172b4;
$custom-light: #f99fca;
$custom-dark: #000000;
JSON
{
  "hex": "#f172b4",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 180
  },
  "hsl": {
    "h": 328.819,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72059,
    "c": 0.17147,
    "h": 349.9
  },
  "luminance": 0.34031
}

Semantic roles & 50–950 ramp

primary
#F172B4
secondary
#CDF2DF
accent
#DE6F07
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F172B4

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

Preview Lab → · Contrast checker → · Palette generator →

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