#F178DC#F178DC

#F178DC is a light, vivid pink. Relative luminance 0.373; OKLCH L 74.4% C 0.189 H 334.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#F178DC
RGBrgb(241, 120, 220)
HSLhsl(310, 81%, 71%)
HSVhsv(310, 50%, 95%)
CMYKcmyk(0%, 50.2%, 8.7%, 5.5%)
CIE-LABlab(67.50, 59.01, -30.23)
CIE-LCHlch(67.50, 66.30, 332.87°)
OKLaboklab(74.4% 0.1702 -0.082)
OKLCHoklch(74.4% 0.189 334.3)
XYZxyz(55.9104, 37.3047, 71.9520)
Luminance0.3730 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F178DC #78F18D
analogous
#C978F1 #F178DC #F1789F
triadic
#F178DC #DCF178 #78DCF1
tetradic
#F178DC #F1C978 #78F18D #789FF1
square
#F178DC #F1C978 #78F18D #789FF1
split-complementary
#F178DC #9FF178 #78F1C9
monochromatic
#D816B7 #EB41CE #F178DC #F7AFEA #FCE3F8

Accessibility & contrast

On white

2.48
#F178DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#F178DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F178DC
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F178DC#FFFFFF#000000##000000
##F178DC1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#9AABD9
Tritanopia (blue-blind)
#FB7FA0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f178dc;
/* rgb */ color: rgb(241, 120, 220);
/* oklch */ color: oklch(74.4% 0.189 334.3);
Tailwind
colors: {
  custom: {
    50: '#f8a3e7',
    500: '#f178dc',
    950: '#000000',
  },
}
SCSS
$custom: #f178dc;
$custom-light: #f8a3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f178dc",
  "rgb": {
    "r": 241,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 310.413,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74403,
    "c": 0.18886,
    "h": 334.3
  },
  "luminance": 0.37301
}

Semantic roles & 50–950 ramp

primary
#F178DC
secondary
#D2F3D8
accent
#DE2D08
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F178DC

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

Preview Lab → · Contrast checker → · Palette generator →

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