#F172B3#F172B3

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

Color values

HEX#F172B3
RGBrgb(241, 114, 179)
HSLhsl(329, 82%, 70%)
HSVhsv(329, 53%, 95%)
CMYKcmyk(0%, 52.7%, 25.7%, 5.5%)
CIE-LABlab(64.96, 55.83, -11.08)
CIE-LCHlch(64.96, 56.92, 348.78°)
OKLaboklab(72.02% 0.1685 -0.0288)
OKLCHoklch(72.02% 0.171 350.3)
XYZxyz(50.4314, 33.9946, 46.5446)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172B3 #72F1B0
analogous
#EF72F1 #F172B3 #F17274
triadic
#F172B3 #B3F172 #72B3F1
tetradic
#F172B3 #F1EF72 #72F1B0 #7274F1
square
#F172B3 #F1EF72 #72F1B0 #7274F1
split-complementary
#F172B3 #74F172 #72F1EF
monochromatic
#D41577 #EB3A95 #F172B3 #F7AAD1 #FCE1EF

Accessibility & contrast

On white

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

On black

7.80
#F172B3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172B3
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172B3#FFFFFF#000000##000000
##F172B31.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8190B5
Deuteranopia (green-blind)
#A3A6B0
Tritanopia (blue-blind)
#FF6D8B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f172b3;
/* rgb */ color: rgb(241, 114, 179);
/* oklch */ color: oklch(72.0% 0.171 350.3);
Tailwind
colors: {
  custom: {
    50: '#f99fc9',
    500: '#f172b3',
    950: '#000000',
  },
}
SCSS
$custom: #f172b3;
$custom-light: #f99fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#f172b3",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 179
  },
  "hsl": {
    "h": 329.291,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72024,
    "c": 0.17094,
    "h": 350.3
  },
  "luminance": 0.3399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F172B3

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

Preview Lab → · Contrast checker → · Palette generator →

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