#F28DB2#F28DB2

#F28DB2 is a light, vivid pink. Relative luminance 0.411; OKLCH L 76.0% C 0.129 H 357.2°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#F28DB2
RGBrgb(242, 141, 178)
HSLhsl(338, 80%, 75%)
HSVhsv(338, 42%, 95%)
CMYKcmyk(0%, 41.7%, 26.4%, 5.1%)
CIE-LABlab(70.28, 42.69, -2.61)
CIE-LCHlch(70.28, 42.77, 356.50°)
OKLaboklab(76.05% 0.1289 -0.0063)
OKLCHoklch(76.05% 0.129 357.2)
XYZxyz(54.1803, 41.1454, 47.1991)
Luminance0.4114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28DB2 #8DF2CD
analogous
#F28DE4 #F28DB2 #F29A8D
triadic
#F28DB2 #B2F28D #8DB2F2
tetradic
#F28DB2 #E4F28D #8DF2CD #9A8DF2
square
#F28DB2 #E4F28D #8DF2CD #9A8DF2
split-complementary
#F28DB2 #8DF29A #8DE4F2
monochromatic
#E51F68 #EC568D #F28DB2 #F8C4D7 #FCE4EC

Accessibility & contrast

On white

2.28
#F28DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#F28DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28DB2
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28DB2#FFFFFF#000000##000000
##F28DB21.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA1B3
Deuteranopia (green-blind)
#B4B3B0
Tritanopia (blue-blind)
#FF879A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f28db2;
/* rgb */ color: rgb(242, 141, 178);
/* oklch */ color: oklch(76.0% 0.129 357.2);
Tailwind
colors: {
  custom: {
    50: '#f8b0c9',
    500: '#f28db2',
    950: '#000000',
  },
}
SCSS
$custom: #f28db2;
$custom-light: #f8b0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f28db2",
  "rgb": {
    "r": 242,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 338.02,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76046,
    "c": 0.129,
    "h": 357.2
  },
  "luminance": 0.41141
}

Semantic roles & 50–950 ramp

primary
#F28DB2
secondary
#D7F4E9
accent
#DC8F0A
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#181113
muted
#868082

Preview Lab

Preview with #F28DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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