#F170B7#F170B7

#F170B7 is a light, vivid pink. Relative luminance 0.337; OKLCH L 71.9% C 0.176 H 348.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#F170B7
RGBrgb(241, 112, 183)
HSLhsl(327, 82%, 69%)
HSVhsv(327, 54%, 95%)
CMYKcmyk(0%, 53.5%, 24.1%, 5.5%)
CIE-LABlab(64.73, 57.30, -13.68)
CIE-LCHlch(64.73, 58.91, 346.57°)
OKLaboklab(71.9% 0.1725 -0.0358)
OKLCHoklch(71.9% 0.176 348.3)
XYZxyz(50.6187, 33.7125, 48.6318)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170B7 #70F1AA
analogous
#EB70F1 #F170B7 #F17077
triadic
#F170B7 #B7F170 #70B7F1
tetradic
#F170B7 #F1EB70 #70F1AA #7077F1
square
#F170B7 #F1EB70 #70F1AA #7077F1
split-complementary
#F170B7 #77F170 #70F1EB
monochromatic
#D2157D #EC389B #F170B7 #F6A8D3 #FCDFEF

Accessibility & contrast

On white

2.71
#F170B7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#F170B7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170B7
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170B7#FFFFFF#000000##000000
##F170B71.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8FB9
Deuteranopia (green-blind)
#A1A5B4
Tritanopia (blue-blind)
#FF6D8B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f170b7;
/* rgb */ color: rgb(241, 112, 183);
/* oklch */ color: oklch(71.9% 0.176 348.3);
Tailwind
colors: {
  custom: {
    50: '#f99ecc',
    500: '#f170b7',
    950: '#000000',
  },
}
SCSS
$custom: #f170b7;
$custom-light: #f99ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#f170b7",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 183
  },
  "hsl": {
    "h": 326.977,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.719,
    "c": 0.17617,
    "h": 348.3
  },
  "luminance": 0.33708
}

Semantic roles & 50–950 ramp

primary
#F170B7
secondary
#CCF1DD
accent
#DF6807
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F170B7

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

Preview Lab → · Contrast checker → · Palette generator →

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