#F28BC7#F28BC7

#F28BC7 is a light, vivid pink. Relative luminance 0.415; OKLCH L 76.4% C 0.143 H 345.1°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#F28BC7
RGBrgb(242, 139, 199)
HSLhsl(325, 80%, 75%)
HSVhsv(325, 43%, 95%)
CMYKcmyk(0%, 42.6%, 17.8%, 5.1%)
CIE-LABlab(70.50, 46.70, -13.97)
CIE-LCHlch(70.50, 48.75, 343.35°)
OKLaboklab(76.43% 0.1386 -0.0368)
OKLCHoklch(76.43% 0.143 345.1)
XYZxyz(56.1602, 41.4698, 59.0683)
Luminance0.4147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BC7 #8BF2B6
analogous
#EA8BF2 #F28BC7 #F28B93
triadic
#F28BC7 #C7F28B #8BC7F2
tetradic
#F28BC7 #F2EA8B #8BF2B6 #8B93F2
square
#F28BC7 #F2EA8B #8BF2B6 #8B93F2
split-complementary
#F28BC7 #93F28B #8BF2EA
monochromatic
#E61D92 #EC54AC #F28BC7 #F8C2E2 #FCE3F2

Accessibility & contrast

On white

2.26
#F28BC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#F28BC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28BC7
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28BC7#FFFFFF#000000##000000
##F28BC71.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A2C9
Deuteranopia (green-blind)
#ADB3C4
Tritanopia (blue-blind)
#FE8AA1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f28bc7;
/* rgb */ color: rgb(242, 139, 199);
/* oklch */ color: oklch(76.4% 0.143 345.1);
Tailwind
colors: {
  custom: {
    50: '#f8afd8',
    500: '#f28bc7',
    950: '#000000',
  },
}
SCSS
$custom: #f28bc7;
$custom-light: #f8afd8;
$custom-dark: #000000;
JSON
{
  "hex": "#f28bc7",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 199
  },
  "hsl": {
    "h": 325.049,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76426,
    "c": 0.14339,
    "h": 345.1
  },
  "luminance": 0.41466
}

Semantic roles & 50–950 ramp

primary
#F28BC7
secondary
#D7F4E3
accent
#DC6109
background
#FFFAFD
surface
#FFF5FA
border
#D7CFD3
text
#171114
muted
#858083

Preview Lab

Preview with #F28BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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