#F28CDC#F28CDC

#F28CDC is a light, vivid pink. Relative luminance 0.428; OKLCH L 77.4% C 0.157 H 335.5°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#F28CDC
RGBrgb(242, 140, 220)
HSLhsl(313, 80%, 75%)
HSVhsv(313, 42%, 95%)
CMYKcmyk(0%, 42.1%, 9.1%, 5.1%)
CIE-LABlab(71.42, 49.50, -24.20)
CIE-LCHlch(71.42, 55.10, 333.94°)
OKLaboklab(77.35% 0.1428 -0.0652)
OKLCHoklch(77.35% 0.157 335.5)
XYZxyz(58.9142, 42.8041, 72.8552)
Luminance0.4280 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28CDC #8CF2A2
analogous
#D58CF2 #F28CDC #F28CA9
triadic
#F28CDC #DCF28C #8CDCF2
tetradic
#F28CDC #F2D58C #8CF2A2 #8CA9F2
square
#F28CDC #F2D58C #8CF2A2 #8CA9F2
split-complementary
#F28CDC #A9F28C #8CF2D5
monochromatic
#E61EBB #EC55CB #F28CDC #F8C3ED #FCE4F7

Accessibility & contrast

On white

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

On black

9.56
#F28CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28CDC
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28CDC#FFFFFF#000000##000000
##F28CDC1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA6DF
Deuteranopia (green-blind)
#A7B4D9
Tritanopia (blue-blind)
#FB90AA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f28cdc;
/* rgb */ color: rgb(242, 140, 220);
/* oklch */ color: oklch(77.4% 0.157 335.5);
Tailwind
colors: {
  custom: {
    50: '#f8b0e7',
    500: '#f28cdc',
    950: '#000000',
  },
}
SCSS
$custom: #f28cdc;
$custom-light: #f8b0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f28cdc",
  "rgb": {
    "r": 242,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 312.941,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77354,
    "c": 0.15698,
    "h": 335.5
  },
  "luminance": 0.42801
}

Semantic roles & 50–950 ramp

primary
#F28CDC
secondary
#D7F4DD
accent
#DC370A
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F28CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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