#F28CED#F28CED

#F28CED is a light, vivid purple. Relative luminance 0.437; OKLCH L 78.0% C 0.171 H 328.8°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#F28CED
RGBrgb(242, 140, 237)
HSLhsl(303, 80%, 75%)
HSVhsv(303, 42%, 95%)
CMYKcmyk(0%, 42.1%, 2.1%, 5.1%)
CIE-LABlab(72.06, 52.37, -32.56)
CIE-LCHlch(72.06, 61.67, 328.13°)
OKLaboklab(78.04% 0.1467 -0.0887)
OKLCHoklch(78.04% 0.171 328.8)
XYZxyz(61.2812, 43.7509, 85.3212)
Luminance0.4375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28CED #8CF291
analogous
#C48CF2 #F28CED #F28CBA
triadic
#F28CED #EDF28C #8CEDF2
tetradic
#F28CED #F2C48C #8CF291 #8CBAF2
square
#F28CED #F2C48C #8CF291 #8CBAF2
split-complementary
#F28CED #BAF28C #8CF2C4
monochromatic
#E61EDC #EC55E4 #F28CED #F8C3F6 #FCE4FB

Accessibility & contrast

On white

2.15
#F28CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#F28CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28CED
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28CED#FFFFFF#000000##000000
##F28CED1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8F0
Deuteranopia (green-blind)
#A1B6EA
Tritanopia (blue-blind)
#F995B2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f28ced;
/* rgb */ color: rgb(242, 140, 237);
/* oklch */ color: oklch(78.0% 0.171 328.8);
Tailwind
colors: {
  custom: {
    50: '#f8b0f3',
    500: '#f28ced',
    950: '#000000',
  },
}
SCSS
$custom: #f28ced;
$custom-light: #f8b0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ced",
  "rgb": {
    "r": 242,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 302.941,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.78043,
    "c": 0.17145,
    "h": 328.8
  },
  "luminance": 0.43748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F28CED

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

Preview Lab → · Contrast checker → · Palette generator →

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