#F28DC2#F28DC2

#F28DC2 is a light, vivid pink. Relative luminance 0.418; OKLCH L 76.6% C 0.137 H 348.1°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#F28DC2
RGBrgb(242, 141, 194)
HSLhsl(329, 80%, 75%)
HSVhsv(329, 42%, 95%)
CMYKcmyk(0%, 41.7%, 19.8%, 5.1%)
CIE-LABlab(70.75, 44.94, -10.82)
CIE-LCHlch(70.75, 46.23, 346.46°)
OKLaboklab(76.56% 0.1341 -0.0283)
OKLCHoklch(76.56% 0.137 348.1)
XYZxyz(55.8814, 41.8259, 56.1584)
Luminance0.4182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28DC2 #8DF2BD
analogous
#F08DF2 #F28DC2 #F28D8F
triadic
#F28DC2 #C2F28D #8DC2F2
tetradic
#F28DC2 #F2F08D #8DF2BD #8D8FF2
square
#F28DC2 #F2F08D #8DF2BD #8D8FF2
split-complementary
#F28DC2 #8FF28D #8DF2F0
monochromatic
#E51F87 #EC56A5 #F28DC2 #F8C4DF #FCE4F0

Accessibility & contrast

On white

2.24
#F28DC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#F28DC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28DC2
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28DC2#FFFFFF#000000##000000
##F28DC21.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A3C4
Deuteranopia (green-blind)
#B0B3BF
Tritanopia (blue-blind)
#FF8BA0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f28dc2;
/* rgb */ color: rgb(242, 141, 194);
/* oklch */ color: oklch(76.6% 0.137 348.1);
Tailwind
colors: {
  custom: {
    50: '#f8b0d4',
    500: '#f28dc2',
    950: '#000000',
  },
}
SCSS
$custom: #f28dc2;
$custom-light: #f8b0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#f28dc2",
  "rgb": {
    "r": 242,
    "g": 141,
    "b": 194
  },
  "hsl": {
    "h": 328.515,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7656,
    "c": 0.137,
    "h": 348.1
  },
  "luminance": 0.41822
}

Semantic roles & 50–950 ramp

primary
#F28DC2
secondary
#D7F4E5
accent
#DC6E0A
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #F28DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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