#F28DED#F28DED

#F28DED is a light, vivid purple. Relative luminance 0.440; OKLCH L 78.2% C 0.170 H 328.8°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#F28DED
RGBrgb(242, 141, 237)
HSLhsl(303, 80%, 75%)
HSVhsv(303, 42%, 95%)
CMYKcmyk(0%, 41.7%, 2.1%, 5.1%)
CIE-LABlab(72.26, 51.87, -32.25)
CIE-LCHlch(72.26, 61.08, 328.13°)
OKLaboklab(78.19% 0.1453 -0.0878)
OKLCHoklch(78.19% 0.17 328.8)
XYZxyz(61.4280, 44.0445, 85.3702)
Luminance0.4404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28DED #8DF292
analogous
#C48DF2 #F28DED #F28DBB
triadic
#F28DED #EDF28D #8DEDF2
tetradic
#F28DED #F2C48D #8DF292 #8DBBF2
square
#F28DED #F2C48D #8DF292 #8DBBF2
split-complementary
#F28DED #BBF28D #8DF2C4
monochromatic
#E51FDC #EC56E4 #F28DED #F8C4F6 #FCE4FB

Accessibility & contrast

On white

2.14
#F28DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#F28DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28DED
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28DED#FFFFFF#000000##000000
##F28DED1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F0
Deuteranopia (green-blind)
#A2B6EA
Tritanopia (blue-blind)
#F896B2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f28ded;
/* rgb */ color: rgb(242, 141, 237);
/* oklch */ color: oklch(78.2% 0.170 328.8);
Tailwind
colors: {
  custom: {
    50: '#f8b1f3',
    500: '#f28ded',
    950: '#000000',
  },
}
SCSS
$custom: #f28ded;
$custom-light: #f8b1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ded",
  "rgb": {
    "r": 242,
    "g": 141,
    "b": 237
  },
  "hsl": {
    "h": 302.97,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7819,
    "c": 0.16979,
    "h": 328.8
  },
  "luminance": 0.44041
}

Semantic roles & 50–950 ramp

primary
#F28DED
secondary
#D7F4D9
accent
#DC140A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F28DED

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

Preview Lab → · Contrast checker → · Palette generator →

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