#F28BB7#F28BB7

#F28BB7 is a light, vivid pink. Relative luminance 0.408; OKLCH L 75.9% C 0.134 H 353.7°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#F28BB7
RGBrgb(242, 139, 183)
HSLhsl(334, 80%, 75%)
HSVhsv(334, 43%, 95%)
CMYKcmyk(0%, 42.6%, 24.4%, 5.1%)
CIE-LABlab(70.01, 44.40, -5.79)
CIE-LCHlch(70.01, 44.77, 352.57°)
OKLaboklab(75.89% 0.1336 -0.0147)
OKLCHoklch(75.89% 0.134 353.7)
XYZxyz(54.3992, 40.7654, 49.7939)
Luminance0.4076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BB7 #8BF2C6
analogous
#F28BEB #F28BB7 #F2938B
triadic
#F28BB7 #B7F28B #8BB7F2
tetradic
#F28BB7 #EBF28B #8BF2C6 #938BF2
square
#F28BB7 #EBF28B #8BF2C6 #938BF2
split-complementary
#F28BB7 #8BF293 #8BEBF2
monochromatic
#E61D73 #EC5495 #F28BB7 #F8C2D9 #FCE3EE

Accessibility & contrast

On white

2.29
#F28BB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#F28BB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28BB7
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28BB7#FFFFFF#000000##000000
##F28BB71.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A0B9
Deuteranopia (green-blind)
#B1B2B5
Tritanopia (blue-blind)
#FF879B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f28bb7;
/* rgb */ color: rgb(242, 139, 183);
/* oklch */ color: oklch(75.9% 0.134 353.7);
Tailwind
colors: {
  custom: {
    50: '#f8afcc',
    500: '#f28bb7',
    950: '#000000',
  },
}
SCSS
$custom: #f28bb7;
$custom-light: #f8afcc;
$custom-dark: #000000;
JSON
{
  "hex": "#f28bb7",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 183
  },
  "hsl": {
    "h": 334.369,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75892,
    "c": 0.1344,
    "h": 353.7
  },
  "luminance": 0.40761
}

Semantic roles & 50–950 ramp

primary
#F28BB7
secondary
#D7F4E8
accent
#DC8209
background
#FFFAFC
surface
#FFF5F8
border
#D7CFD1
text
#171013
muted
#857F82

Preview Lab

Preview with #F28BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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