#F28EB2#F28EB2

#F28EB2 is a light, vivid pink. Relative luminance 0.414; OKLCH L 76.2% C 0.127 H 357.5°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#F28EB2
RGBrgb(242, 142, 178)
HSLhsl(338, 79%, 75%)
HSVhsv(338, 41%, 95%)
CMYKcmyk(0%, 41.3%, 26.4%, 5.1%)
CIE-LABlab(70.48, 42.18, -2.31)
CIE-LCHlch(70.48, 42.24, 356.87°)
OKLaboklab(76.2% 0.1273 -0.0055)
OKLCHoklch(76.2% 0.127 357.5)
XYZxyz(54.3284, 41.4417, 47.2485)
Luminance0.4144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EB2 #8EF2CE
analogous
#F28EE4 #F28EB2 #F29C8E
triadic
#F28EB2 #B2F28E #8EB2F2
tetradic
#F28EB2 #E4F28E #8EF2CE #9C8EF2
square
#F28EB2 #E4F28E #8EF2CE #9C8EF2
split-complementary
#F28EB2 #8EF29C #8EE4F2
monochromatic
#E52067 #EC578D #F28EB2 #F8C5D7 #FCE4EC

Accessibility & contrast

On white

2.26
#F28EB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#F28EB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EB2
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EB2#FFFFFF#000000##000000
##F28EB21.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f28eb2;
/* rgb */ color: rgb(242, 142, 178);
/* oklch */ color: oklch(76.2% 0.127 357.5);
Tailwind
colors: {
  custom: {
    50: '#f8b1c9',
    500: '#f28eb2',
    950: '#000000',
  },
}
SCSS
$custom: #f28eb2;
$custom-light: #f8b1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f28eb2",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 338.4,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76203,
    "c": 0.12742,
    "h": 357.5
  },
  "luminance": 0.41438
}

Semantic roles & 50–950 ramp

primary
#F28EB2
secondary
#D7F4E9
accent
#DC900A
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #F28EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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