#F178E2#F178E2

#F178E2 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.7% C 0.194 H 332.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#F178E2
RGBrgb(241, 120, 226)
HSLhsl(307, 81%, 71%)
HSVhsv(307, 50%, 95%)
CMYKcmyk(0%, 50.2%, 6.2%, 5.5%)
CIE-LABlab(67.75, 59.98, -33.19)
CIE-LCHlch(67.75, 68.55, 331.04°)
OKLaboklab(74.66% 0.1713 -0.0903)
OKLCHoklch(74.66% 0.194 332.2)
XYZxyz(56.7193, 37.6283, 76.2123)
Luminance0.3762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F178E2 #78F187
analogous
#C378F1 #F178E2 #F178A5
triadic
#F178E2 #E2F178 #78E2F1
tetradic
#F178E2 #F1C378 #78F187 #78A5F1
square
#F178E2 #F1C378 #78F187 #78A5F1
split-complementary
#F178E2 #A5F178 #78F1C3
monochromatic
#D816C0 #EB41D6 #F178E2 #F7AFEE #FCE3F9

Accessibility & contrast

On white

2.46
#F178E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#F178E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F178E2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F178E2#FFFFFF#000000##000000
##F178E21.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#749AE6
Deuteranopia (green-blind)
#97ABDF
Tritanopia (blue-blind)
#FA81A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f178e2;
/* rgb */ color: rgb(241, 120, 226);
/* oklch */ color: oklch(74.7% 0.194 332.2);
Tailwind
colors: {
  custom: {
    50: '#f8a3eb',
    500: '#f178e2',
    950: '#000000',
  },
}
SCSS
$custom: #f178e2;
$custom-light: #f8a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f178e2",
  "rgb": {
    "r": 241,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 307.438,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74661,
    "c": 0.19365,
    "h": 332.2
  },
  "luminance": 0.37625
}

Semantic roles & 50–950 ramp

primary
#F178E2
secondary
#D2F3D6
accent
#DE2208
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F178E2

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

Preview Lab → · Contrast checker → · Palette generator →

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