#F28FD2#F28FD2

#F28FD2 is a light, vivid pink. Relative luminance 0.432; OKLCH L 77.4% C 0.144 H 340.2°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#F28FD2
RGBrgb(242, 143, 210)
HSLhsl(319, 79%, 75%)
HSVhsv(319, 41%, 95%)
CMYKcmyk(0%, 40.9%, 13.2%, 5.1%)
CIE-LABlab(71.68, 46.36, -18.30)
CIE-LCHlch(71.68, 49.84, 338.46°)
OKLaboklab(77.43% 0.1358 -0.0488)
OKLCHoklch(77.43% 0.144 340.2)
XYZxyz(58.0736, 43.1789, 66.2358)
Luminance0.4318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FD2 #8FF2AF
analogous
#E08FF2 #F28FD2 #F28FA0
triadic
#F28FD2 #D2F28F #8FD2F2
tetradic
#F28FD2 #F2E08F #8FF2AF #8FA0F2
square
#F28FD2 #F2E08F #8FF2AF #8FA0F2
split-complementary
#F28FD2 #A0F28F #8FF2E0
monochromatic
#E521A6 #EC58BC #F28FD2 #F8C6E8 #FCE4F4

Accessibility & contrast

On white

2.18
#F28FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#F28FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FD2
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FD2#FFFFFF#000000##000000
##F28FD21.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A6D4
Deuteranopia (green-blind)
#ADB5CF
Tritanopia (blue-blind)
#FD91A8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f28fd2;
/* rgb */ color: rgb(242, 143, 210);
/* oklch */ color: oklch(77.4% 0.144 340.2);
Tailwind
colors: {
  custom: {
    50: '#f8b2df',
    500: '#f28fd2',
    950: '#000000',
  },
}
SCSS
$custom: #f28fd2;
$custom-light: #f8b2df;
$custom-dark: #000000;
JSON
{
  "hex": "#f28fd2",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 210
  },
  "hsl": {
    "h": 319.394,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7743,
    "c": 0.14424,
    "h": 340.2
  },
  "luminance": 0.43175
}

Semantic roles & 50–950 ramp

primary
#F28FD2
secondary
#D7F4E1
accent
#DB4E0A
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #F28FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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