#F172E1#F172E1

#F172E1 is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 73.8% C 0.202 H 332.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#F172E1
RGBrgb(241, 114, 225)
HSLhsl(308, 82%, 70%)
HSVhsv(308, 53%, 95%)
CMYKcmyk(0%, 52.7%, 6.6%, 5.5%)
CIE-LABlab(66.65, 62.61, -34.33)
CIE-LCHlch(66.65, 71.40, 331.27°)
OKLaboklab(73.84% 0.1792 -0.0935)
OKLCHoklch(73.84% 0.202 332.4)
XYZxyz(55.8834, 36.1754, 75.2587)
Luminance0.3617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172E1 #72F182
analogous
#C272F1 #F172E1 #F172A2
triadic
#F172E1 #E1F172 #72E1F1
tetradic
#F172E1 #F1C272 #72F182 #72A2F1
square
#F172E1 #F1C272 #72F182 #72A2F1
split-complementary
#F172E1 #A2F172 #72F1C2
monochromatic
#D415BC #EB3AD5 #F172E1 #F7AAED #FCE1F9

Accessibility & contrast

On white

2.55
#F172E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#F172E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172E1
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172E1#FFFFFF#000000##000000
##F172E11.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E5
Deuteranopia (green-blind)
#94A9DD
Tritanopia (blue-blind)
#FA7BA0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f172e1;
/* rgb */ color: rgb(241, 114, 225);
/* oklch */ color: oklch(73.8% 0.202 332.4);
Tailwind
colors: {
  custom: {
    50: '#f8a0ea',
    500: '#f172e1',
    950: '#000000',
  },
}
SCSS
$custom: #f172e1;
$custom-light: #f8a0ea;
$custom-dark: #000000;
JSON
{
  "hex": "#f172e1",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 225
  },
  "hsl": {
    "h": 307.559,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7384,
    "c": 0.2021,
    "h": 332.4
  },
  "luminance": 0.36172
}

Semantic roles & 50–950 ramp

primary
#F172E1
secondary
#CDF2D2
accent
#DE2207
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F172E1

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

Preview Lab → · Contrast checker → · Palette generator →

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