#F28FB8#F28FB8

#F28FB8 is a light, vivid pink. Relative luminance 0.420; OKLCH L 76.5% C 0.128 H 354.2°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#F28FB8
RGBrgb(242, 143, 184)
HSLhsl(335, 79%, 75%)
HSVhsv(335, 41%, 95%)
CMYKcmyk(0%, 40.9%, 24%, 5.1%)
CIE-LABlab(70.86, 42.49, -5.09)
CIE-LCHlch(70.86, 42.79, 353.17°)
OKLaboklab(76.55% 0.1278 -0.0129)
OKLCHoklch(76.55% 0.128 354.2)
XYZxyz(55.0935, 41.9868, 50.5406)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FB8 #8FF2C9
analogous
#F28FE9 #F28FB8 #F2978F
triadic
#F28FB8 #B8F28F #8FB8F2
tetradic
#F28FB8 #E9F28F #8FF2C9 #978FF2
square
#F28FB8 #E9F28F #8FF2C9 #978FF2
split-complementary
#F28FB8 #8FF297 #8FE9F2
monochromatic
#E52172 #EC5895 #F28FB8 #F8C6DB #FCE4EE

Accessibility & contrast

On white

2.23
#F28FB8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#F28FB8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FB8
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FB8#FFFFFF#000000##000000
##F28FB81.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA3B9
Deuteranopia (green-blind)
#B3B4B6
Tritanopia (blue-blind)
#FF8B9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f28fb8;
/* rgb */ color: rgb(242, 143, 184);
/* oklch */ color: oklch(76.5% 0.128 354.2);
Tailwind
colors: {
  custom: {
    50: '#f8b1cd',
    500: '#f28fb8',
    950: '#000000',
  },
}
SCSS
$custom: #f28fb8;
$custom-light: #f8b1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#f28fb8",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 184
  },
  "hsl": {
    "h": 335.152,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76546,
    "c": 0.12843,
    "h": 354.2
  },
  "luminance": 0.41983
}

Semantic roles & 50–950 ramp

primary
#F28FB8
secondary
#D7F4E8
accent
#DB850A
background
#FFFBFC
surface
#FFF6F9
border
#D7D0D2
text
#171113
muted
#858082

Preview Lab

Preview with #F28FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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