#F172E2#F172E2

#F172E2 is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 73.9% C 0.203 H 332.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#F172E2
RGBrgb(241, 114, 226)
HSLhsl(307, 82%, 70%)
HSVhsv(307, 53%, 95%)
CMYKcmyk(0%, 52.7%, 6.2%, 5.5%)
CIE-LABlab(66.70, 62.77, -34.82)
CIE-LCHlch(66.70, 71.78, 330.98°)
OKLaboklab(73.88% 0.1793 -0.0949)
OKLCHoklch(73.88% 0.203 332.1)
XYZxyz(56.0202, 36.2301, 75.9792)
Luminance0.3623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172E2 #72F181
analogous
#C172F1 #F172E2 #F172A2
triadic
#F172E2 #E2F172 #72E2F1
tetradic
#F172E2 #F1C172 #72F181 #72A2F1
square
#F172E2 #F1C172 #72F181 #72A2F1
split-complementary
#F172E2 #A2F172 #72F1C1
monochromatic
#D415BD #EB3AD7 #F172E2 #F7AAED #FCE1F9

Accessibility & contrast

On white

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

On black

8.25
#F172E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172E2
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172E2#FFFFFF#000000##000000
##F172E21.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E6
Deuteranopia (green-blind)
#94A9DE
Tritanopia (blue-blind)
#FA7CA0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f172e2;
/* rgb */ color: rgb(241, 114, 226);
/* oklch */ color: oklch(73.9% 0.203 332.1);
Tailwind
colors: {
  custom: {
    50: '#f8a0eb',
    500: '#f172e2',
    950: '#000000',
  },
}
SCSS
$custom: #f172e2;
$custom-light: #f8a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f172e2",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 307.087,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73884,
    "c": 0.20291,
    "h": 332.1
  },
  "luminance": 0.36226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F172E2

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

Preview Lab → · Contrast checker → · Palette generator →

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