#F171DB#F171DB

#F171DB is a light, vivid pink. Relative luminance 0.356; OKLCH L 73.5% C 0.199 H 334.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#F171DB
RGBrgb(241, 113, 219)
HSLhsl(310, 82%, 69%)
HSVhsv(310, 53%, 95%)
CMYKcmyk(0%, 53.1%, 9.1%, 5.5%)
CIE-LABlab(66.24, 62.11, -31.63)
CIE-LCHlch(66.24, 69.70, 333.01°)
OKLaboklab(73.45% 0.1794 -0.0859)
OKLCHoklch(73.45% 0.199 334.4)
XYZxyz(54.9671, 35.6294, 70.9861)
Luminance0.3563 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171DB #71F187
analogous
#C771F1 #F171DB #F1719B
triadic
#F171DB #DBF171 #71DBF1
tetradic
#F171DB #F1C771 #71F187 #719BF1
square
#F171DB #F1C771 #71F187 #719BF1
split-complementary
#F171DB #9BF171 #71F1C7
monochromatic
#D315B2 #EC39CD #F171DB #F6A9E9 #FCE0F7

Accessibility & contrast

On white

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

On black

8.13
#F171DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171DB
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171DB#FFFFFF#000000##000000
##F171DB1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DE
Deuteranopia (green-blind)
#96A8D7
Tritanopia (blue-blind)
#FB789C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f171db;
/* rgb */ color: rgb(241, 113, 219);
/* oklch */ color: oklch(73.5% 0.199 334.4);
Tailwind
colors: {
  custom: {
    50: '#f89fe6',
    500: '#f171db',
    950: '#000000',
  },
}
SCSS
$custom: #f171db;
$custom-light: #f89fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#f171db",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 310.313,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7345,
    "c": 0.19892,
    "h": 334.4
  },
  "luminance": 0.35625
}

Semantic roles & 50–950 ramp

primary
#F171DB
secondary
#CCF1D3
accent
#DE2C07
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F171DB

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

Preview Lab → · Contrast checker → · Palette generator →

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