#F170A8#F170A8

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

Color values

HEX#F170A8
RGBrgb(241, 112, 168)
HSLhsl(334, 82%, 69%)
HSVhsv(334, 54%, 95%)
CMYKcmyk(0%, 53.5%, 30.3%, 5.5%)
CIE-LABlab(64.26, 55.36, -5.86)
CIE-LCHlch(64.26, 55.67, 353.96°)
OKLaboklab(71.39% 0.168 -0.0147)
OKLCHoklch(71.39% 0.169 355)
XYZxyz(49.1398, 33.1209, 40.8432)
Luminance0.3312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170A8 #70F1B9
analogous
#F170E9 #F170A8 #F17970
triadic
#F170A8 #A8F170 #70A8F1
tetradic
#F170A8 #E9F170 #70F1B9 #7970F1
square
#F170A8 #E9F170 #70F1B9 #7970F1
split-complementary
#F170A8 #70F179 #70E9F1
monochromatic
#D21567 #EC3886 #F170A8 #F6A8CA #FCDFEC

Accessibility & contrast

On white

2.75
#F170A8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##F170A8#FFFFFF#000000##000000
##F170A81.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#828DAA
Deuteranopia (green-blind)
#A4A5A5
Tritanopia (blue-blind)
#FF6885
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f170a8;
/* rgb */ color: rgb(241, 112, 168);
/* oklch */ color: oklch(71.4% 0.169 355.0);
Tailwind
colors: {
  custom: {
    50: '#f99dc1',
    500: '#f170a8',
    950: '#000000',
  },
}
SCSS
$custom: #f170a8;
$custom-light: #f99dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#f170a8",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 168
  },
  "hsl": {
    "h": 333.953,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71389,
    "c": 0.16869,
    "h": 355
  },
  "luminance": 0.33116
}

Semantic roles & 50–950 ramp

primary
#F170A8
secondary
#CCF1E1
accent
#DF8107
background
#FFFAFB
surface
#FFF3F7
border
#D7CDD0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F170A8

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

Preview Lab → · Contrast checker → · Palette generator →

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