#F28FB2#F28FB2

#F28FB2 is a light, vivid pink. Relative luminance 0.417; OKLCH L 76.4% C 0.126 H 357.9°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#F28FB2
RGBrgb(242, 143, 178)
HSLhsl(339, 79%, 75%)
HSVhsv(339, 41%, 95%)
CMYKcmyk(0%, 40.9%, 26.4%, 5.1%)
CIE-LABlab(70.69, 41.66, -2.00)
CIE-LCHlch(70.69, 41.71, 357.25°)
OKLaboklab(76.36% 0.1258 -0.0047)
OKLCHoklch(76.36% 0.126 357.9)
XYZxyz(54.4779, 41.7406, 47.2983)
Luminance0.4174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FB2 #8FF2CF
analogous
#F28FE3 #F28FB2 #F29D8F
triadic
#F28FB2 #B2F28F #8FB2F2
tetradic
#F28FB2 #E3F28F #8FF2CF #9D8FF2
square
#F28FB2 #E3F28F #8FF2CF #9D8FF2
split-complementary
#F28FB2 #8FF29D #8FE3F2
monochromatic
#E52167 #EC588C #F28FB2 #F8C6D8 #FCE4EC

Accessibility & contrast

On white

2.25
#F28FB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#F28FB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FB2
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FB2#FFFFFF#000000##000000
##F28FB21.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CA2B3
Deuteranopia (green-blind)
#B5B4B0
Tritanopia (blue-blind)
#FF899B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f28fb2;
/* rgb */ color: rgb(242, 143, 178);
/* oklch */ color: oklch(76.4% 0.126 357.9);
Tailwind
colors: {
  custom: {
    50: '#f8b1c9',
    500: '#f28fb2',
    950: '#000000',
  },
}
SCSS
$custom: #f28fb2;
$custom-light: #f8b1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f28fb2",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 178
  },
  "hsl": {
    "h": 338.788,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76361,
    "c": 0.12585,
    "h": 357.9
  },
  "luminance": 0.41737
}

Semantic roles & 50–950 ramp

primary
#F28FB2
secondary
#D7F4EA
accent
#DB910A
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #F28FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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