#F28BC2#F28BC2

#F28BC2 is a light, vivid pink. Relative luminance 0.412; OKLCH L 76.3% C 0.140 H 347.7°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#F28BC2
RGBrgb(242, 139, 194)
HSLhsl(328, 80%, 75%)
HSVhsv(328, 43%, 95%)
CMYKcmyk(0%, 42.6%, 19.8%, 5.1%)
CIE-LABlab(70.34, 45.96, -11.43)
CIE-LCHlch(70.34, 47.36, 346.04°)
OKLaboklab(76.25% 0.1371 -0.0299)
OKLCHoklch(76.25% 0.14 347.7)
XYZxyz(55.5892, 41.2414, 56.0610)
Luminance0.4124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BC2 #8BF2BB
analogous
#EE8BF2 #F28BC2 #F28B8F
triadic
#F28BC2 #C2F28B #8BC2F2
tetradic
#F28BC2 #F2EE8B #8BF2BB #8B8FF2
square
#F28BC2 #F2EE8B #8BF2BB #8B8FF2
split-complementary
#F28BC2 #8FF28B #8BF2EE
monochromatic
#E61D88 #EC54A5 #F28BC2 #F8C2DF #FCE3F1

Accessibility & contrast

On white

2.27
#F28BC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#F28BC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28BC2
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28BC2#FFFFFF#000000##000000
##F28BC21.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A1C4
Deuteranopia (green-blind)
#AEB2BF
Tritanopia (blue-blind)
#FF899F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f28bc2;
/* rgb */ color: rgb(242, 139, 194);
/* oklch */ color: oklch(76.3% 0.140 347.7);
Tailwind
colors: {
  custom: {
    50: '#f8afd4',
    500: '#f28bc2',
    950: '#000000',
  },
}
SCSS
$custom: #f28bc2;
$custom-light: #f8afd4;
$custom-dark: #000000;
JSON
{
  "hex": "#f28bc2",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 194
  },
  "hsl": {
    "h": 327.961,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76254,
    "c": 0.14031,
    "h": 347.7
  },
  "luminance": 0.41238
}

Semantic roles & 50–950 ramp

primary
#F28BC2
secondary
#D7F4E5
accent
#DC6C09
background
#FFFAFD
surface
#FFF5FA
border
#D7CFD3
text
#171014
muted
#857F83

Preview Lab

Preview with #F28BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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