#F28CD9#F28CD9

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

Color values

HEX#F28CD9
RGBrgb(242, 140, 217)
HSLhsl(315, 80%, 75%)
HSVhsv(315, 42%, 95%)
CMYKcmyk(0%, 42.1%, 10.3%, 5.1%)
CIE-LABlab(71.31, 49.01, -22.71)
CIE-LCHlch(71.31, 54.01, 335.14°)
OKLaboklab(77.24% 0.1421 -0.061)
OKLCHoklch(77.24% 0.155 336.8)
XYZxyz(58.5205, 42.6467, 70.7814)
Luminance0.4264 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28CD9 #8CF2A5
analogous
#D88CF2 #F28CD9 #F28CA6
triadic
#F28CD9 #D9F28C #8CD9F2
tetradic
#F28CD9 #F2D88C #8CF2A5 #8CA6F2
square
#F28CD9 #F2D88C #8CF2A5 #8CA6F2
split-complementary
#F28CD9 #A6F28C #8CF2D8
monochromatic
#E61EB5 #EC55C7 #F28CD9 #F8C3EB #FCE4F6

Accessibility & contrast

On white

2.20
#F28CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#F28CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28CD9
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28CD9#FFFFFF#000000##000000
##F28CD91.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA5DC
Deuteranopia (green-blind)
#A8B4D6
Tritanopia (blue-blind)
#FC90A9
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f28cd9;
/* rgb */ color: rgb(242, 140, 217);
/* oklch */ color: oklch(77.2% 0.155 336.8);
Tailwind
colors: {
  custom: {
    50: '#f8b0e5',
    500: '#f28cd9',
    950: '#000000',
  },
}
SCSS
$custom: #f28cd9;
$custom-light: #f8b0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#f28cd9",
  "rgb": {
    "r": 242,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 314.706,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77238,
    "c": 0.1546,
    "h": 336.8
  },
  "luminance": 0.42643
}

Semantic roles & 50–950 ramp

primary
#F28CD9
secondary
#D7F4DE
accent
#DC3D0A
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171115
muted
#858084

Preview Lab

Preview with #F28CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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