#F170CB#F170CB

#F170CB is a light, vivid pink. Relative luminance 0.346; OKLCH L 72.7% C 0.189 H 340.1°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#F170CB
RGBrgb(241, 112, 203)
HSLhsl(318, 82%, 69%)
HSVhsv(318, 54%, 95%)
CMYKcmyk(0%, 53.5%, 15.8%, 5.5%)
CIE-LABlab(65.44, 60.12, -23.90)
CIE-LCHlch(65.44, 64.70, 338.32°)
OKLaboklab(72.66% 0.1775 -0.0641)
OKLCHoklch(72.66% 0.189 340.1)
XYZxyz(52.8501, 34.6051, 60.3842)
Luminance0.3460 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170CB #70F196
analogous
#D670F1 #F170CB #F1708B
triadic
#F170CB #CBF170 #70CBF1
tetradic
#F170CB #F1D670 #70F196 #708BF1
square
#F170CB #F1D670 #70F196 #708BF1
split-complementary
#F170CB #8BF170 #70F1D6
monochromatic
#D2159A #EC38B7 #F170CB #F6A8DF #FCDFF4

Accessibility & contrast

On white

2.65
#F170CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#F170CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170CB
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170CB#FFFFFF#000000##000000
##F170CB1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CE
Deuteranopia (green-blind)
#9BA6C8
Tritanopia (blue-blind)
#FD7394
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f170cb;
/* rgb */ color: rgb(241, 112, 203);
/* oklch */ color: oklch(72.7% 0.189 340.1);
Tailwind
colors: {
  custom: {
    50: '#f89edb',
    500: '#f170cb',
    950: '#000000',
  },
}
SCSS
$custom: #f170cb;
$custom-light: #f89edb;
$custom-dark: #000000;
JSON
{
  "hex": "#f170cb",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 317.674,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72657,
    "c": 0.18873,
    "h": 340.1
  },
  "luminance": 0.34601
}

Semantic roles & 50–950 ramp

primary
#F170CB
secondary
#CCF1D7
accent
#DF4607
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F170CB

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

Preview Lab → · Contrast checker → · Palette generator →

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