#F171DD#F171DD

#F171DD is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 73.5% C 0.200 H 333.7°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#F171DD
RGBrgb(241, 113, 221)
HSLhsl(309, 82%, 69%)
HSVhsv(309, 53%, 95%)
CMYKcmyk(0%, 53.1%, 8.3%, 5.5%)
CIE-LABlab(66.32, 62.43, -32.62)
CIE-LCHlch(66.32, 70.44, 332.41°)
OKLaboklab(73.54% 0.1798 -0.0887)
OKLCHoklch(73.54% 0.2 333.7)
XYZxyz(55.2319, 35.7353, 72.3811)
Luminance0.3573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171DD #71F185
analogous
#C571F1 #F171DD #F1719D
triadic
#F171DD #DDF171 #71DDF1
tetradic
#F171DD #F1C571 #71F185 #719DF1
square
#F171DD #F1C571 #71F185 #719DF1
split-complementary
#F171DD #9DF171 #71F1C5
monochromatic
#D315B5 #EC39D0 #F171DD #F6A9EA #FCE0F8

Accessibility & contrast

On white

2.58
#F171DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#F171DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171DD
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171DD#FFFFFF#000000##000000
##F171DD1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95E1
Deuteranopia (green-blind)
#95A8D9
Tritanopia (blue-blind)
#FB799D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f171dd;
/* rgb */ color: rgb(241, 113, 221);
/* oklch */ color: oklch(73.5% 0.200 333.7);
Tailwind
colors: {
  custom: {
    50: '#f89fe8',
    500: '#f171dd',
    950: '#000000',
  },
}
SCSS
$custom: #f171dd;
$custom-light: #f89fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#f171dd",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 309.375,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73537,
    "c": 0.20048,
    "h": 333.7
  },
  "luminance": 0.35731
}

Semantic roles & 50–950 ramp

primary
#F171DD
secondary
#CCF1D2
accent
#DE2907
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F171DD

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

Preview Lab → · Contrast checker → · Palette generator →

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