#F171D3#F171D3

#F171D3 is a light, vivid pink. Relative luminance 0.352; OKLCH L 73.1% C 0.193 H 337.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#F171D3
RGBrgb(241, 113, 211)
HSLhsl(314, 82%, 69%)
HSVhsv(314, 53%, 95%)
CMYKcmyk(0%, 53.1%, 12.4%, 5.5%)
CIE-LABlab(65.92, 60.86, -27.66)
CIE-LCHlch(65.92, 66.85, 335.56°)
OKLaboklab(73.11% 0.1779 -0.0746)
OKLCHoklch(73.11% 0.193 337.2)
XYZxyz(53.9391, 35.2182, 65.5722)
Luminance0.3521 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171D3 #71F18F
analogous
#CF71F1 #F171D3 #F17193
triadic
#F171D3 #D3F171 #71D3F1
tetradic
#F171D3 #F1CF71 #71F18F #7193F1
square
#F171D3 #F1CF71 #71F18F #7193F1
split-complementary
#F171D3 #93F171 #71F1CF
monochromatic
#D315A6 #EC39C2 #F171D3 #F6A9E4 #FCE0F6

Accessibility & contrast

On white

2.61
#F171D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#F171D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171D3
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171D3#FFFFFF#000000##000000
##F171D31.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7494D6
Deuteranopia (green-blind)
#99A7D0
Tritanopia (blue-blind)
#FC7699
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f171d3;
/* rgb */ color: rgb(241, 113, 211);
/* oklch */ color: oklch(73.1% 0.193 337.2);
Tailwind
colors: {
  custom: {
    50: '#f89fe0',
    500: '#f171d3',
    950: '#000000',
  },
}
SCSS
$custom: #f171d3;
$custom-light: #f89fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#f171d3",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 211
  },
  "hsl": {
    "h": 314.063,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73111,
    "c": 0.1929,
    "h": 337.2
  },
  "luminance": 0.35214
}

Semantic roles & 50–950 ramp

primary
#F171D3
secondary
#CCF1D5
accent
#DE3A07
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F171D3

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

Preview Lab → · Contrast checker → · Palette generator →

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