#F172A3#F172A3

#F172A3 is a light, vivid pink. Relative luminance 0.334; OKLCH L 71.5% C 0.164 H 357.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#F172A3
RGBrgb(241, 114, 163)
HSLhsl(337, 82%, 70%)
HSVhsv(337, 53%, 95%)
CMYKcmyk(0%, 52.7%, 32.4%, 5.5%)
CIE-LABlab(64.47, 53.80, -2.70)
CIE-LCHlch(64.47, 53.87, 357.13°)
OKLaboklab(71.5% 0.1635 -0.0064)
OKLCHoklch(71.5% 0.164 357.8)
XYZxyz(48.9061, 33.3844, 38.5114)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172A3 #72F1C0
analogous
#F172E3 #F172A3 #F18172
triadic
#F172A3 #A3F172 #72A3F1
tetradic
#F172A3 #E3F172 #72F1C0 #8172F1
square
#F172A3 #E3F172 #72F1C0 #8172F1
split-complementary
#F172A3 #72F181 #72E3F1
monochromatic
#D4155F #EB3A7F #F172A3 #F7AAC7 #FCE1EC

Accessibility & contrast

On white

2.74
#F172A3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#F172A3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172A3
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172A3#FFFFFF#000000##000000
##F172A31.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#858EA5
Deuteranopia (green-blind)
#A7A5A0
Tritanopia (blue-blind)
#FF6984
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f172a3;
/* rgb */ color: rgb(241, 114, 163);
/* oklch */ color: oklch(71.5% 0.164 357.8);
Tailwind
colors: {
  custom: {
    50: '#f99fbe',
    500: '#f172a3',
    950: '#000000',
  },
}
SCSS
$custom: #f172a3;
$custom-light: #f99fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#f172a3",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 163
  },
  "hsl": {
    "h": 336.85,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71499,
    "c": 0.16365,
    "h": 357.8
  },
  "luminance": 0.3338
}

Semantic roles & 50–950 ramp

primary
#F172A3
secondary
#CDF2E4
accent
#DE8B07
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F172A3

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

Preview Lab → · Contrast checker → · Palette generator →

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