#F170A4#F170A4

#F170A4 is a light, vivid pink. Relative luminance 0.330; OKLCH L 71.3% C 0.167 H 356.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#F170A4
RGBrgb(241, 112, 164)
HSLhsl(336, 82%, 69%)
HSVhsv(336, 54%, 95%)
CMYKcmyk(0%, 53.5%, 32%, 5.5%)
CIE-LABlab(64.14, 54.87, -3.76)
CIE-LCHlch(64.14, 55.00, 356.08°)
OKLaboklab(71.26% 0.1668 -0.0092)
OKLCHoklch(71.26% 0.167 356.9)
XYZxyz(48.7729, 32.9742, 38.9108)
Luminance0.3297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170A4 #70F1BD
analogous
#F170E5 #F170A4 #F17D70
triadic
#F170A4 #A4F170 #70A4F1
tetradic
#F170A4 #E5F170 #70F1BD #7D70F1
square
#F170A4 #E5F170 #70F1BD #7D70F1
split-complementary
#F170A4 #70F17D #70E5F1
monochromatic
#D21561 #EC3881 #F170A4 #F6A8C7 #FCDFEB

Accessibility & contrast

On white

2.77
#F170A4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#F170A4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170A4
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170A4#FFFFFF#000000##000000
##F170A41.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#838DA6
Deuteranopia (green-blind)
#A5A4A1
Tritanopia (blue-blind)
#FF6784
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f170a4;
/* rgb */ color: rgb(241, 112, 164);
/* oklch */ color: oklch(71.3% 0.167 356.9);
Tailwind
colors: {
  custom: {
    50: '#f99dbe',
    500: '#f170a4',
    950: '#000000',
  },
}
SCSS
$custom: #f170a4;
$custom-light: #f99dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#f170a4",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 164
  },
  "hsl": {
    "h": 335.814,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71261,
    "c": 0.16701,
    "h": 356.9
  },
  "luminance": 0.32969
}

Semantic roles & 50–950 ramp

primary
#F170A4
secondary
#CCF1E2
accent
#DF8807
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180F12
muted
#867E81

Preview Lab

Preview with #F170A4

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

Preview Lab → · Contrast checker → · Palette generator →

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