#F28EEC#F28EEC

#F28EEC is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.3% C 0.167 H 329.2°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#F28EEC
RGBrgb(242, 142, 236)
HSLhsl(304, 79%, 75%)
HSVhsv(304, 41%, 95%)
CMYKcmyk(0%, 41.3%, 2.5%, 5.1%)
CIE-LABlab(72.42, 51.19, -31.46)
CIE-LCHlch(72.42, 60.09, 328.43°)
OKLaboklab(78.3% 0.1437 -0.0856)
OKLCHoklch(78.3% 0.167 329.2)
XYZxyz(61.4304, 44.2825, 84.6522)
Luminance0.4428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EEC #8EF294
analogous
#C68EF2 #F28EEC #F28EBA
triadic
#F28EEC #ECF28E #8EECF2
tetradic
#F28EEC #F2C68E #8EF294 #8EBAF2
square
#F28EEC #F2C68E #8EF294 #8EBAF2
split-complementary
#F28EEC #BAF28E #8EF2C6
monochromatic
#E520DA #EC57E3 #F28EEC #F8C5F5 #FCE4FA

Accessibility & contrast

On white

2.13
#F28EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#F28EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EEC
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EEC#FFFFFF#000000##000000
##F28EEC1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EF
Deuteranopia (green-blind)
#A3B6E9
Tritanopia (blue-blind)
#F996B2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f28eec;
/* rgb */ color: rgb(242, 142, 236);
/* oklch */ color: oklch(78.3% 0.167 329.2);
Tailwind
colors: {
  custom: {
    50: '#f8b1f2',
    500: '#f28eec',
    950: '#000000',
  },
}
SCSS
$custom: #f28eec;
$custom-light: #f8b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f28eec",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 303.6,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78296,
    "c": 0.16723,
    "h": 329.2
  },
  "luminance": 0.44279
}

Semantic roles & 50–950 ramp

primary
#F28EEC
secondary
#D7F4D9
accent
#DC160A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F28EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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