#F28DB7#F28DB7

#F28DB7 is a light, vivid pink. Relative luminance 0.413; OKLCH L 76.2% C 0.131 H 354.3°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#F28DB7
RGBrgb(242, 141, 183)
HSLhsl(335, 80%, 75%)
HSVhsv(335, 42%, 95%)
CMYKcmyk(0%, 41.7%, 24.4%, 5.1%)
CIE-LABlab(70.42, 43.37, -5.19)
CIE-LCHlch(70.42, 43.68, 353.18°)
OKLaboklab(76.2% 0.1305 -0.0131)
OKLCHoklch(76.2% 0.131 354.3)
XYZxyz(54.6915, 41.3499, 49.8913)
Luminance0.4135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28DB7 #8DF2C8
analogous
#F28DE9 #F28DB7 #F2968D
triadic
#F28DB7 #B7F28D #8DB7F2
tetradic
#F28DB7 #E9F28D #8DF2C8 #968DF2
square
#F28DB7 #E9F28D #8DF2C8 #968DF2
split-complementary
#F28DB7 #8DF296 #8DE9F2
monochromatic
#E51F72 #EC5694 #F28DB7 #F8C4DA #FCE4EE

Accessibility & contrast

On white

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

On black

9.27
#F28DB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28DB7
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28DB7#FFFFFF#000000##000000
##F28DB71.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A1B8
Deuteranopia (green-blind)
#B2B3B5
Tritanopia (blue-blind)
#FF899C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f28db7;
/* rgb */ color: rgb(242, 141, 183);
/* oklch */ color: oklch(76.2% 0.131 354.3);
Tailwind
colors: {
  custom: {
    50: '#f8b0cc',
    500: '#f28db7',
    950: '#000000',
  },
}
SCSS
$custom: #f28db7;
$custom-light: #f8b0cc;
$custom-dark: #000000;
JSON
{
  "hex": "#f28db7",
  "rgb": {
    "r": 242,
    "g": 141,
    "b": 183
  },
  "hsl": {
    "h": 335.05,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76202,
    "c": 0.13118,
    "h": 354.3
  },
  "luminance": 0.41346
}

Semantic roles & 50–950 ramp

primary
#F28DB7
secondary
#D7F4E8
accent
#DC840A
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #F28DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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