#F170A7#F170A7

#F170A7 is a light, vivid pink. Relative luminance 0.331; OKLCH L 71.4% C 0.168 H 355.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#F170A7
RGBrgb(241, 112, 167)
HSLhsl(334, 82%, 69%)
HSVhsv(334, 54%, 95%)
CMYKcmyk(0%, 53.5%, 30.7%, 5.5%)
CIE-LABlab(64.23, 55.23, -5.34)
CIE-LCHlch(64.23, 55.49, 354.48°)
OKLaboklab(71.36% 0.1677 -0.0134)
OKLCHoklch(71.36% 0.168 355.4)
XYZxyz(49.0470, 33.0838, 40.3545)
Luminance0.3308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170A7 #70F1BA
analogous
#F170E7 #F170A7 #F17A70
triadic
#F170A7 #A7F170 #70A7F1
tetradic
#F170A7 #E7F170 #70F1BA #7A70F1
square
#F170A7 #E7F170 #70F1BA #7A70F1
split-complementary
#F170A7 #70F17A #70E7F1
monochromatic
#D21565 #EC3885 #F170A7 #F6A8C9 #FCDFEC

Accessibility & contrast

On white

2.76
#F170A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#F170A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170A7
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170A7#FFFFFF#000000##000000
##F170A71.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#838DA9
Deuteranopia (green-blind)
#A5A4A4
Tritanopia (blue-blind)
#FF6885
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f170a7;
/* rgb */ color: rgb(241, 112, 167);
/* oklch */ color: oklch(71.4% 0.168 355.4);
Tailwind
colors: {
  custom: {
    50: '#f99dc1',
    500: '#f170a7',
    950: '#000000',
  },
}
SCSS
$custom: #f170a7;
$custom-light: #f99dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#f170a7",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 167
  },
  "hsl": {
    "h": 334.419,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71356,
    "c": 0.16825,
    "h": 355.4
  },
  "luminance": 0.33079
}

Semantic roles & 50–950 ramp

primary
#F170A7
secondary
#CCF1E1
accent
#DF8307
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#180F12
muted
#867E81

Preview Lab

Preview with #F170A7

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

Preview Lab → · Contrast checker → · Palette generator →

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