#F28BB2#F28BB2

#F28BB2 is a light, vivid pink. Relative luminance 0.406; OKLCH L 75.7% C 0.132 H 356.6°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#F28BB2
RGBrgb(242, 139, 178)
HSLhsl(337, 80%, 75%)
HSVhsv(337, 43%, 95%)
CMYKcmyk(0%, 42.6%, 26.4%, 5.1%)
CIE-LABlab(69.87, 43.71, -3.21)
CIE-LCHlch(69.87, 43.83, 355.80°)
OKLaboklab(75.74% 0.1319 -0.0079)
OKLCHoklch(75.74% 0.132 356.6)
XYZxyz(53.8881, 40.5610, 47.1017)
Luminance0.4056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BB2 #8BF2CB
analogous
#F28BE5 #F28BB2 #F2988B
triadic
#F28BB2 #B2F28B #8BB2F2
tetradic
#F28BB2 #E5F28B #8BF2CB #988BF2
square
#F28BB2 #E5F28B #8BF2CB #988BF2
split-complementary
#F28BB2 #8BF298 #8BE5F2
monochromatic
#E61D69 #EC548D #F28BB2 #F8C2D7 #FCE3ED

Accessibility & contrast

On white

2.30
#F28BB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#F28BB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28BB2
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28BB2#FFFFFF#000000##000000
##F28BB21.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#989FB3
Deuteranopia (green-blind)
#B2B2B0
Tritanopia (blue-blind)
#FF8599
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f28bb2;
/* rgb */ color: rgb(242, 139, 178);
/* oklch */ color: oklch(75.7% 0.132 356.6);
Tailwind
colors: {
  custom: {
    50: '#f8afc9',
    500: '#f28bb2',
    950: '#000000',
  },
}
SCSS
$custom: #f28bb2;
$custom-light: #f8afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#f28bb2",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 337.282,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75735,
    "c": 0.13217,
    "h": 356.6
  },
  "luminance": 0.40557
}

Semantic roles & 50–950 ramp

primary
#F28BB2
secondary
#D7F4E9
accent
#DC8C09
background
#FFFAFC
surface
#FFF5F8
border
#D7CFD1
text
#181013
muted
#867F82

Preview Lab

Preview with #F28BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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