#F178D2#F178D2

#F178D2 is a light, vivid pink. Relative luminance 0.368; OKLCH L 74.0% C 0.181 H 338.0°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#F178D2
RGBrgb(241, 120, 210)
HSLhsl(315, 81%, 71%)
HSVhsv(315, 50%, 95%)
CMYKcmyk(0%, 50.2%, 12.9%, 5.5%)
CIE-LABlab(67.12, 57.43, -25.25)
CIE-LCHlch(67.12, 62.74, 336.27°)
OKLaboklab(73.99% 0.168 -0.0679)
OKLCHoklch(73.99% 0.181 338)
XYZxyz(54.6254, 36.7908, 65.1845)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F178D2 #78F197
analogous
#D378F1 #F178D2 #F17895
triadic
#F178D2 #D2F178 #78D2F1
tetradic
#F178D2 #F1D378 #78F197 #7895F1
square
#F178D2 #F1D378 #78F197 #7895F1
split-complementary
#F178D2 #95F178 #78F1D3
monochromatic
#D816A7 #EB41C0 #F178D2 #F7AFE4 #FCE3F6

Accessibility & contrast

On white

2.51
#F178D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#F178D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F178D2
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F178D2#FFFFFF#000000##000000
##F178D21.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B98D5
Deuteranopia (green-blind)
#9DAACF
Tritanopia (blue-blind)
#FC7C9B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f178d2;
/* rgb */ color: rgb(241, 120, 210);
/* oklch */ color: oklch(74.0% 0.181 338.0);
Tailwind
colors: {
  custom: {
    50: '#f8a3e0',
    500: '#f178d2',
    950: '#000000',
  },
}
SCSS
$custom: #f178d2;
$custom-light: #f8a3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f178d2",
  "rgb": {
    "r": 241,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 315.372,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73991,
    "c": 0.18124,
    "h": 338
  },
  "luminance": 0.36787
}

Semantic roles & 50–950 ramp

primary
#F178D2
secondary
#D2F3DA
accent
#DE3F08
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F178D2

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

Preview Lab → · Contrast checker → · Palette generator →

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