#F172D2#F172D2

#F172D2 is a light, vivid pink. Relative luminance 0.354; OKLCH L 73.2% C 0.191 H 337.7°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#F172D2
RGBrgb(241, 114, 210)
HSLhsl(315, 82%, 70%)
HSVhsv(315, 53%, 95%)
CMYKcmyk(0%, 52.7%, 12.9%, 5.5%)
CIE-LABlab(66.05, 60.25, -26.89)
CIE-LCHlch(66.05, 65.98, 335.95°)
OKLaboklab(73.2% 0.1763 -0.0725)
OKLCHoklch(73.2% 0.191 337.7)
XYZxyz(53.9263, 35.3925, 64.9515)
Luminance0.3539 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172D2 #72F191
analogous
#D172F1 #F172D2 #F17293
triadic
#F172D2 #D2F172 #72D2F1
tetradic
#F172D2 #F1D172 #72F191 #7293F1
square
#F172D2 #F1D172 #72F191 #7293F1
split-complementary
#F172D2 #93F172 #72F1D1
monochromatic
#D415A5 #EB3AC0 #F172D2 #F7AAE4 #FCE1F6

Accessibility & contrast

On white

2.60
#F172D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#F172D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172D2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172D2#FFFFFF#000000##000000
##F172D21.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7594D5
Deuteranopia (green-blind)
#9AA8CF
Tritanopia (blue-blind)
#FC7699
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f172d2;
/* rgb */ color: rgb(241, 114, 210);
/* oklch */ color: oklch(73.2% 0.191 337.7);
Tailwind
colors: {
  custom: {
    50: '#f89fe0',
    500: '#f172d2',
    950: '#000000',
  },
}
SCSS
$custom: #f172d2;
$custom-light: #f89fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#f172d2",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 210
  },
  "hsl": {
    "h": 314.646,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73199,
    "c": 0.19063,
    "h": 337.7
  },
  "luminance": 0.35389
}

Semantic roles & 50–950 ramp

primary
#F172D2
secondary
#CDF2D6
accent
#DE3C07
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F172D2

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

Preview Lab → · Contrast checker → · Palette generator →

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