#F172AA#F172AA

#F172AA is a light, vivid pink. Relative luminance 0.336; OKLCH L 71.7% C 0.167 H 354.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#F172AA
RGBrgb(241, 114, 170)
HSLhsl(334, 82%, 70%)
HSVhsv(334, 53%, 95%)
CMYKcmyk(0%, 52.7%, 29.5%, 5.5%)
CIE-LABlab(64.68, 54.67, -6.38)
CIE-LCHlch(64.68, 55.04, 353.34°)
OKLaboklab(71.72% 0.1658 -0.0161)
OKLCHoklch(71.72% 0.167 354.4)
XYZxyz(49.5507, 33.6423, 41.9064)
Luminance0.3364 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172AA #72F1B9
analogous
#F172EA #F172AA #F17A72
triadic
#F172AA #AAF172 #72AAF1
tetradic
#F172AA #EAF172 #72F1B9 #7A72F1
square
#F172AA #EAF172 #72F1B9 #7A72F1
split-complementary
#F172AA #72F17A #72EAF1
monochromatic
#D41569 #EB3A88 #F172AA #F7AACC #FCE1ED

Accessibility & contrast

On white

2.72
#F172AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#F172AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172AA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172AA#FFFFFF#000000##000000
##F172AA1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#838FAC
Deuteranopia (green-blind)
#A5A5A7
Tritanopia (blue-blind)
#FF6B87
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f172aa;
/* rgb */ color: rgb(241, 114, 170);
/* oklch */ color: oklch(71.7% 0.167 354.4);
Tailwind
colors: {
  custom: {
    50: '#f99fc3',
    500: '#f172aa',
    950: '#000000',
  },
}
SCSS
$custom: #f172aa;
$custom-light: #f99fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#f172aa",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 170
  },
  "hsl": {
    "h": 333.543,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71722,
    "c": 0.16656,
    "h": 354.4
  },
  "luminance": 0.33638
}

Semantic roles & 50–950 ramp

primary
#F172AA
secondary
#CDF2E2
accent
#DE7F07
background
#FFFAFB
surface
#FFF3F7
border
#D7CDD0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F172AA

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

Preview Lab → · Contrast checker → · Palette generator →

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