#F28CC2#F28CC2

#F28CC2 is a light, vivid pink. Relative luminance 0.415; OKLCH L 76.4% C 0.139 H 347.9°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#F28CC2
RGBrgb(242, 140, 194)
HSLhsl(328, 80%, 75%)
HSVhsv(328, 42%, 95%)
CMYKcmyk(0%, 42.1%, 19.8%, 5.1%)
CIE-LABlab(70.55, 45.45, -11.13)
CIE-LCHlch(70.55, 46.80, 346.25°)
OKLaboklab(76.41% 0.1356 -0.0291)
OKLCHoklch(76.41% 0.139 347.9)
XYZxyz(55.7346, 41.5323, 56.1095)
Luminance0.4153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28CC2 #8CF2BC
analogous
#EF8CF2 #F28CC2 #F28C8F
triadic
#F28CC2 #C2F28C #8CC2F2
tetradic
#F28CC2 #F2EF8C #8CF2BC #8C8FF2
square
#F28CC2 #F2EF8C #8CF2BC #8C8FF2
split-complementary
#F28CC2 #8FF28C #8CF2EF
monochromatic
#E61E88 #EC55A5 #F28CC2 #F8C3DF #FCE4F0

Accessibility & contrast

On white

2.26
#F28CC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#F28CC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28CC2
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28CC2#FFFFFF#000000##000000
##F28CC21.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A2C4
Deuteranopia (green-blind)
#AFB3BF
Tritanopia (blue-blind)
#FF8AA0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f28cc2;
/* rgb */ color: rgb(242, 140, 194);
/* oklch */ color: oklch(76.4% 0.139 347.9);
Tailwind
colors: {
  custom: {
    50: '#f8afd4',
    500: '#f28cc2',
    950: '#000000',
  },
}
SCSS
$custom: #f28cc2;
$custom-light: #f8afd4;
$custom-dark: #000000;
JSON
{
  "hex": "#f28cc2",
  "rgb": {
    "r": 242,
    "g": 140,
    "b": 194
  },
  "hsl": {
    "h": 328.235,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76407,
    "c": 0.13865,
    "h": 347.9
  },
  "luminance": 0.41528
}

Semantic roles & 50–950 ramp

primary
#F28CC2
secondary
#D7F4E5
accent
#DC6D0A
background
#FFFAFD
surface
#FFF5FA
border
#D7CFD3
text
#171114
muted
#858083

Preview Lab

Preview with #F28CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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