#F28CD8#F28CD8

#F28CD8 is a light, vivid pink. Relative luminance 0.426; OKLCH L 77.2% C 0.154 H 337.2°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#F28CD8
RGBrgb(242, 140, 216)
HSLhsl(315, 80%, 75%)
HSVhsv(315, 42%, 95%)
CMYKcmyk(0%, 42.1%, 10.7%, 5.1%)
CIE-LABlab(71.28, 48.85, -22.21)
CIE-LCHlch(71.28, 53.66, 335.55°)
OKLaboklab(77.2% 0.1418 -0.0596)
OKLCHoklch(77.2% 0.154 337.2)
XYZxyz(58.3908, 42.5948, 70.0985)
Luminance0.4259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28CD8 #8CF2A6
analogous
#D98CF2 #F28CD8 #F28CA5
triadic
#F28CD8 #D8F28C #8CD8F2
tetradic
#F28CD8 #F2D98C #8CF2A6 #8CA5F2
square
#F28CD8 #F2D98C #8CF2A6 #8CA5F2
split-complementary
#F28CD8 #A5F28C #8CF2D9
monochromatic
#E61EB3 #EC55C5 #F28CD8 #F8C3EB #FCE4F6

Accessibility & contrast

On white

2.21
#F28CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#F28CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28CD8
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28CD8#FFFFFF#000000##000000
##F28CD81.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA5DB
Deuteranopia (green-blind)
#A9B4D5
Tritanopia (blue-blind)
#FC8FA9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f28cd8;
/* rgb */ color: rgb(242, 140, 216);
/* oklch */ color: oklch(77.2% 0.154 337.2);
Tailwind
colors: {
  custom: {
    50: '#f8b0e4',
    500: '#f28cd8',
    950: '#000000',
  },
}
SCSS
$custom: #f28cd8;
$custom-light: #f8b0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#f28cd8",
  "rgb": {
    "r": 242,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 315.294,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77199,
    "c": 0.15382,
    "h": 337.2
  },
  "luminance": 0.42591
}

Semantic roles & 50–950 ramp

primary
#F28CD8
secondary
#D7F4DF
accent
#DC3F0A
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #F28CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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