#F172A5#F172A5

#F172A5 is a light, vivid pink. Relative luminance 0.335; OKLCH L 71.6% C 0.164 H 356.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#F172A5
RGBrgb(241, 114, 165)
HSLhsl(336, 82%, 70%)
HSVhsv(336, 53%, 95%)
CMYKcmyk(0%, 52.7%, 31.5%, 5.5%)
CIE-LABlab(64.53, 54.05, -3.75)
CIE-LCHlch(64.53, 54.18, 356.03°)
OKLaboklab(71.56% 0.1642 -0.0092)
OKLCHoklch(71.56% 0.164 356.8)
XYZxyz(49.0867, 33.4567, 39.4626)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172A5 #72F1BE
analogous
#F172E4 #F172A5 #F17F72
triadic
#F172A5 #A5F172 #72A5F1
tetradic
#F172A5 #E4F172 #72F1BE #7F72F1
square
#F172A5 #E4F172 #72F1BE #7F72F1
split-complementary
#F172A5 #72F17F #72E4F1
monochromatic
#D41562 #EB3A81 #F172A5 #F7AAC9 #FCE1EC

Accessibility & contrast

On white

2.73
#F172A5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#F172A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172A5
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172A5#FFFFFF#000000##000000
##F172A51.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#858EA7
Deuteranopia (green-blind)
#A6A5A2
Tritanopia (blue-blind)
#FF6A85
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f172a5;
/* rgb */ color: rgb(241, 114, 165);
/* oklch */ color: oklch(71.6% 0.164 356.8);
Tailwind
colors: {
  custom: {
    50: '#f99fbf',
    500: '#f172a5',
    950: '#000000',
  },
}
SCSS
$custom: #f172a5;
$custom-light: #f99fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#f172a5",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 165
  },
  "hsl": {
    "h": 335.906,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71562,
    "c": 0.16444,
    "h": 356.8
  },
  "luminance": 0.33452
}

Semantic roles & 50–950 ramp

primary
#F172A5
secondary
#CDF2E3
accent
#DE8807
background
#FFFAFB
surface
#FFF3F7
border
#D7CDD0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F172A5

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

Preview Lab → · Contrast checker → · Palette generator →

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