#F170B2#F170B2

#F170B2 is a light, vivid pink. Relative luminance 0.335; OKLCH L 71.7% C 0.173 H 350.4°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#F170B2
RGBrgb(241, 112, 178)
HSLhsl(329, 82%, 69%)
HSVhsv(329, 54%, 95%)
CMYKcmyk(0%, 53.5%, 26.1%, 5.5%)
CIE-LABlab(64.57, 56.63, -11.09)
CIE-LCHlch(64.57, 57.71, 348.92°)
OKLaboklab(71.72% 0.1711 -0.0288)
OKLCHoklch(71.72% 0.173 350.4)
XYZxyz(50.1075, 33.5080, 45.9396)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170B2 #70F1AF
analogous
#EF70F1 #F170B2 #F17072
triadic
#F170B2 #B2F170 #70B2F1
tetradic
#F170B2 #F1EF70 #70F1AF #7072F1
square
#F170B2 #F1EF70 #70F1AF #7072F1
split-complementary
#F170B2 #72F170 #70F1EF
monochromatic
#D21576 #EC3894 #F170B2 #F6A8D0 #FCDFEE

Accessibility & contrast

On white

2.73
#F170B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#F170B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170B2
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170B2#FFFFFF#000000##000000
##F170B21.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8EB4
Deuteranopia (green-blind)
#A2A5AF
Tritanopia (blue-blind)
#FF6B89
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f170b2;
/* rgb */ color: rgb(241, 112, 178);
/* oklch */ color: oklch(71.7% 0.173 350.4);
Tailwind
colors: {
  custom: {
    50: '#f99ec9',
    500: '#f170b2',
    950: '#000000',
  },
}
SCSS
$custom: #f170b2;
$custom-light: #f99ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#f170b2",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 329.302,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71724,
    "c": 0.17347,
    "h": 350.4
  },
  "luminance": 0.33503
}

Semantic roles & 50–950 ramp

primary
#F170B2
secondary
#CCF1DE
accent
#DF7007
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F170B2

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

Preview Lab → · Contrast checker → · Palette generator →

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