#F170B1#F170B1

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

Color values

HEX#F170B1
RGBrgb(241, 112, 177)
HSLhsl(330, 82%, 69%)
HSVhsv(330, 54%, 95%)
CMYKcmyk(0%, 53.5%, 26.6%, 5.5%)
CIE-LABlab(64.54, 56.50, -10.57)
CIE-LCHlch(64.54, 57.48, 349.40°)
OKLaboklab(71.69% 0.1708 -0.0274)
OKLCHoklch(71.69% 0.173 350.9)
XYZxyz(50.0074, 33.4680, 45.4127)
Luminance0.3346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170B1 #70F1B0
analogous
#F070F1 #F170B1 #F17071
triadic
#F170B1 #B1F170 #70B1F1
tetradic
#F170B1 #F1F070 #70F1B0 #7071F1
square
#F170B1 #F1F070 #70F1B0 #7071F1
split-complementary
#F170B1 #71F170 #70F1F0
monochromatic
#D21574 #EC3893 #F170B1 #F6A8CF #FCDFEE

Accessibility & contrast

On white

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

On black

7.69
#F170B1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170B1
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170B1#FFFFFF#000000##000000
##F170B11.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#808EB3
Deuteranopia (green-blind)
#A2A5AE
Tritanopia (blue-blind)
#FF6B89
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f170b1;
/* rgb */ color: rgb(241, 112, 177);
/* oklch */ color: oklch(71.7% 0.173 350.9);
Tailwind
colors: {
  custom: {
    50: '#f99ec8',
    500: '#f170b1',
    950: '#000000',
  },
}
SCSS
$custom: #f170b1;
$custom-light: #f99ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#f170b1",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 177
  },
  "hsl": {
    "h": 329.767,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71689,
    "c": 0.17295,
    "h": 350.9
  },
  "luminance": 0.33463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F170B1

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

Preview Lab → · Contrast checker → · Palette generator →

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