#F28CB2#F28CB2

#F28CB2 is a light, vivid pink. Relative luminance 0.408; OKLCH L 75.9% C 0.131 H 356.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#F28CB2
RGBrgb(242, 140, 178)
HSLhsl(338, 80%, 75%)
HSVhsv(338, 42%, 95%)
CMYKcmyk(0%, 42.1%, 26.4%, 5.1%)
CIE-LABlab(70.07, 43.20, -2.91)
CIE-LCHlch(70.07, 43.30, 356.14°)
OKLaboklab(75.89% 0.1304 -0.0071)
OKLCHoklch(75.89% 0.131 356.9)
XYZxyz(54.0335, 40.8519, 47.1502)
Luminance0.4085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28CB2 #8CF2CC
analogous
#F28CE5 #F28CB2 #F2998C
triadic
#F28CB2 #B2F28C #8CB2F2
tetradic
#F28CB2 #E5F28C #8CF2CC #998CF2
square
#F28CB2 #E5F28C #8CF2CC #998CF2
split-complementary
#F28CB2 #8CF299 #8CE5F2
monochromatic
#E61E68 #EC558D #F28CB2 #F8C3D7 #FCE4ED

Accessibility & contrast

On white

2.29
#F28CB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#F28CB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28CB2
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28CB2#FFFFFF#000000##000000
##F28CB21.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A0B3
Deuteranopia (green-blind)
#B3B2B0
Tritanopia (blue-blind)
#FF8699
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f28cb2;
/* rgb */ color: rgb(242, 140, 178);
/* oklch */ color: oklch(75.9% 0.131 356.9);
Tailwind
colors: {
  custom: {
    50: '#f8afc9',
    500: '#f28cb2',
    950: '#000000',
  },
}
SCSS
$custom: #f28cb2;
$custom-light: #f8afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#f28cb2",
  "rgb": {
    "r": 242,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 337.647,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7589,
    "c": 0.13058,
    "h": 356.9
  },
  "luminance": 0.40848
}

Semantic roles & 50–950 ramp

primary
#F28CB2
secondary
#D7F4E9
accent
#DC8E0A
background
#FFFAFC
surface
#FFF5F8
border
#D7CFD1
text
#181113
muted
#868082

Preview Lab

Preview with #F28CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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