#F28FC2#F28FC2

#F28FC2 is a light, vivid pink. Relative luminance 0.424; OKLCH L 76.9% C 0.134 H 348.5°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#F28FC2
RGBrgb(242, 143, 194)
HSLhsl(329, 79%, 75%)
HSVhsv(329, 41%, 95%)
CMYKcmyk(0%, 40.9%, 19.8%, 5.1%)
CIE-LABlab(71.16, 43.92, -10.21)
CIE-LCHlch(71.16, 45.09, 346.91°)
OKLaboklab(76.87% 0.131 -0.0266)
OKLCHoklch(76.87% 0.134 348.5)
XYZxyz(56.1790, 42.4210, 56.2576)
Luminance0.4242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FC2 #8FF2BF
analogous
#F18FF2 #F28FC2 #F28F90
triadic
#F28FC2 #C2F28F #8FC2F2
tetradic
#F28FC2 #F2F18F #8FF2BF #8F90F2
square
#F28FC2 #F2F18F #8FF2BF #8F90F2
split-complementary
#F28FC2 #90F28F #8FF2F1
monochromatic
#E52186 #EC58A4 #F28FC2 #F8C6E0 #FCE4F0

Accessibility & contrast

On white

2.21
#F28FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#F28FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FC2
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FC2#FFFFFF#000000##000000
##F28FC21.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A4C4
Deuteranopia (green-blind)
#B1B4BF
Tritanopia (blue-blind)
#FF8DA1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f28fc2;
/* rgb */ color: rgb(242, 143, 194);
/* oklch */ color: oklch(76.9% 0.134 348.5);
Tailwind
colors: {
  custom: {
    50: '#f8b1d4',
    500: '#f28fc2',
    950: '#000000',
  },
}
SCSS
$custom: #f28fc2;
$custom-light: #f8b1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#f28fc2",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 194
  },
  "hsl": {
    "h": 329.091,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7687,
    "c": 0.13369,
    "h": 348.5
  },
  "luminance": 0.42417
}

Semantic roles & 50–950 ramp

primary
#F28FC2
secondary
#D7F4E5
accent
#DB700A
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #F28FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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