#F28BD2#F28BD2

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

Color values

HEX#F28BD2
RGBrgb(242, 139, 210)
HSLhsl(319, 80%, 75%)
HSVhsv(319, 43%, 95%)
CMYKcmyk(0%, 42.6%, 13.2%, 5.1%)
CIE-LABlab(70.87, 48.39, -19.52)
CIE-LCHlch(70.87, 52.18, 338.04°)
OKLaboklab(76.82% 0.1417 -0.0521)
OKLCHoklch(76.82% 0.151 339.8)
XYZxyz(57.4838, 41.9993, 66.0392)
Luminance0.4200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BD2 #8BF2AB
analogous
#DF8BF2 #F28BD2 #F28B9F
triadic
#F28BD2 #D2F28B #8BD2F2
tetradic
#F28BD2 #F2DF8B #8BF2AB #8B9FF2
square
#F28BD2 #F2DF8B #8BF2AB #8B9FF2
split-complementary
#F28BD2 #9FF28B #8BF2DF
monochromatic
#E61DA7 #EC54BD #F28BD2 #F8C2E7 #FCE3F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F28BD2#FFFFFF#000000##000000
##F28BD21.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)
#8FA3D5
Deuteranopia (green-blind)
#AAB3CF
Tritanopia (blue-blind)
#FD8DA5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f28bd2;
/* rgb */ color: rgb(242, 139, 210);
/* oklch */ color: oklch(76.8% 0.151 339.8);
Tailwind
colors: {
  custom: {
    50: '#f8afe0',
    500: '#f28bd2',
    950: '#000000',
  },
}
SCSS
$custom: #f28bd2;
$custom-light: #f8afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#f28bd2",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 318.641,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76823,
    "c": 0.15097,
    "h": 339.8
  },
  "luminance": 0.41996
}

Semantic roles & 50–950 ramp

primary
#F28BD2
secondary
#D7F4E0
accent
#DC4B09
background
#FFFAFD
surface
#FFF5FB
border
#D7CFD4
text
#171115
muted
#858083

Preview Lab

Preview with #F28BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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