#F28EB4#F28EB4

#F28EB4 is a light, vivid pink. Relative luminance 0.415; OKLCH L 76.3% C 0.128 H 356.3°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#F28EB4
RGBrgb(242, 142, 180)
HSLhsl(337, 79%, 75%)
HSVhsv(337, 41%, 95%)
CMYKcmyk(0%, 41.3%, 25.6%, 5.1%)
CIE-LABlab(70.54, 42.45, -3.34)
CIE-LCHlch(70.54, 42.58, 355.50°)
OKLaboklab(76.26% 0.128 -0.0082)
OKLCHoklch(76.26% 0.128 356.3)
XYZxyz(54.5307, 41.5226, 48.3137)
Luminance0.4152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EB4 #8EF2CC
analogous
#F28EE6 #F28EB4 #F29A8E
triadic
#F28EB4 #B4F28E #8EB4F2
tetradic
#F28EB4 #E6F28E #8EF2CC #9A8EF2
square
#F28EB4 #E6F28E #8EF2CC #9A8EF2
split-complementary
#F28EB4 #8EF29A #8EE6F2
monochromatic
#E5206B #EC5790 #F28EB4 #F8C5D8 #FCE4ED

Accessibility & contrast

On white

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

On black

9.30
#F28EB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EB4
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EB4#FFFFFF#000000##000000
##F28EB41.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA2B5
Deuteranopia (green-blind)
#B4B3B2
Tritanopia (blue-blind)
#FF899B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f28eb4;
/* rgb */ color: rgb(242, 142, 180);
/* oklch */ color: oklch(76.3% 0.128 356.3);
Tailwind
colors: {
  custom: {
    50: '#f8b1ca',
    500: '#f28eb4',
    950: '#000000',
  },
}
SCSS
$custom: #f28eb4;
$custom-light: #f8b1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#f28eb4",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 180
  },
  "hsl": {
    "h": 337.2,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76264,
    "c": 0.12824,
    "h": 356.3
  },
  "luminance": 0.41519
}

Semantic roles & 50–950 ramp

primary
#F28EB4
secondary
#D7F4E9
accent
#DC8C0A
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #F28EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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