#F28EEB#F28EEB

#F28EEB is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.3% C 0.166 H 329.6°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#F28EEB
RGBrgb(242, 142, 235)
HSLhsl(304, 79%, 75%)
HSVhsv(304, 41%, 95%)
CMYKcmyk(0%, 41.3%, 2.9%, 5.1%)
CIE-LABlab(72.38, 51.02, -30.97)
CIE-LCHlch(72.38, 59.68, 328.74°)
OKLaboklab(78.26% 0.1434 -0.0842)
OKLCHoklch(78.26% 0.166 329.6)
XYZxyz(61.2855, 44.2245, 83.8892)
Luminance0.4422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EEB #8EF295
analogous
#C78EF2 #F28EEB #F28EB9
triadic
#F28EEB #EBF28E #8EEBF2
tetradic
#F28EEB #F2C78E #8EF295 #8EB9F2
square
#F28EEB #F2C78E #8EF295 #8EB9F2
split-complementary
#F28EEB #B9F28E #8EF2C7
monochromatic
#E520D8 #EC57E1 #F28EEB #F8C5F5 #FCE4FA

Accessibility & contrast

On white

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

On black

9.84
#F28EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EEB
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EEB#FFFFFF#000000##000000
##F28EEB1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EE
Deuteranopia (green-blind)
#A4B6E8
Tritanopia (blue-blind)
#F996B2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f28eeb;
/* rgb */ color: rgb(242, 142, 235);
/* oklch */ color: oklch(78.3% 0.166 329.6);
Tailwind
colors: {
  custom: {
    50: '#f8b1f1',
    500: '#f28eeb',
    950: '#000000',
  },
}
SCSS
$custom: #f28eeb;
$custom-light: #f8b1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f28eeb",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 304.2,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78255,
    "c": 0.16634,
    "h": 329.6
  },
  "luminance": 0.44221
}

Semantic roles & 50–950 ramp

primary
#F28EEB
secondary
#D7F4D9
accent
#DC190A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F28EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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