#F28FDF#F28FDF

#F28FDF is a light, vivid pink. Relative luminance 0.439; OKLCH L 77.9% C 0.154 H 334.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#F28FDF
RGBrgb(242, 143, 223)
HSLhsl(312, 79%, 75%)
HSVhsv(312, 41%, 95%)
CMYKcmyk(0%, 40.9%, 7.9%, 5.1%)
CIE-LABlab(72.13, 48.47, -24.77)
CIE-LCHlch(72.13, 54.43, 332.93°)
OKLaboklab(77.92% 0.1392 -0.0668)
OKLCHoklch(77.92% 0.154 334.4)
XYZxyz(59.7594, 43.8532, 75.1146)
Luminance0.4385 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FDF #8FF2A2
analogous
#D38FF2 #F28FDF #F28FAD
triadic
#F28FDF #DFF28F #8FDFF2
tetradic
#F28FDF #F2D38F #8FF2A2 #8FADF2
square
#F28FDF #F2D38F #8FF2A2 #8FADF2
split-complementary
#F28FDF #ADF28F #8FF2D3
monochromatic
#E521C0 #EC58CF #F28FDF #F8C6EF #FCE4F7

Accessibility & contrast

On white

2.15
#F28FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#F28FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FDF
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FDF#FFFFFF#000000##000000
##F28FDF1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA8E2
Deuteranopia (green-blind)
#A9B6DC
Tritanopia (blue-blind)
#FB94AD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f28fdf;
/* rgb */ color: rgb(242, 143, 223);
/* oklch */ color: oklch(77.9% 0.154 334.4);
Tailwind
colors: {
  custom: {
    50: '#f8b2e9',
    500: '#f28fdf',
    950: '#000000',
  },
}
SCSS
$custom: #f28fdf;
$custom-light: #f8b2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f28fdf",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 223
  },
  "hsl": {
    "h": 311.515,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77921,
    "c": 0.15438,
    "h": 334.4
  },
  "luminance": 0.4385
}

Semantic roles & 50–950 ramp

primary
#F28FDF
secondary
#D7F4DD
accent
#DB320A
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F28FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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