#F170A5#F170A5

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

Color values

HEX#F170A5
RGBrgb(241, 112, 165)
HSLhsl(335, 82%, 69%)
HSVhsv(335, 54%, 95%)
CMYKcmyk(0%, 53.5%, 31.5%, 5.5%)
CIE-LABlab(64.17, 54.99, -4.28)
CIE-LCHlch(64.17, 55.16, 355.55°)
OKLaboklab(71.29% 0.1671 -0.0106)
OKLCHoklch(71.29% 0.167 356.4)
XYZxyz(48.8636, 33.0104, 39.3883)
Luminance0.3301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170A5 #70F1BC
analogous
#F170E6 #F170A5 #F17C70
triadic
#F170A5 #A5F170 #70A5F1
tetradic
#F170A5 #E6F170 #70F1BC #7C70F1
square
#F170A5 #E6F170 #70F1BC #7C70F1
split-complementary
#F170A5 #70F17C #70E6F1
monochromatic
#D21562 #EC3882 #F170A5 #F6A8C8 #FCDFEB

Accessibility & contrast

On white

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

On black

7.60
#F170A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170A5
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170A5#FFFFFF#000000##000000
##F170A51.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#838DA7
Deuteranopia (green-blind)
#A5A4A2
Tritanopia (blue-blind)
#FF6884
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f170a5;
/* rgb */ color: rgb(241, 112, 165);
/* oklch */ color: oklch(71.3% 0.167 356.4);
Tailwind
colors: {
  custom: {
    50: '#f99dbf',
    500: '#f170a5',
    950: '#000000',
  },
}
SCSS
$custom: #f170a5;
$custom-light: #f99dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#f170a5",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 165
  },
  "hsl": {
    "h": 335.349,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71292,
    "c": 0.16741,
    "h": 356.4
  },
  "luminance": 0.33006
}

Semantic roles & 50–950 ramp

primary
#F170A5
secondary
#CCF1E2
accent
#DF8607
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#180F12
muted
#867E81

Preview Lab

Preview with #F170A5

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

Preview Lab → · Contrast checker → · Palette generator →

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