#F28EC0#F28EC0

#F28EC0 is a light, vivid pink. Relative luminance 0.420; OKLCH L 76.6% C 0.134 H 349.4°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#F28EC0
RGBrgb(242, 142, 192)
HSLhsl(330, 79%, 75%)
HSVhsv(330, 41%, 95%)
CMYKcmyk(0%, 41.3%, 20.7%, 5.1%)
CIE-LABlab(70.89, 44.14, -9.50)
CIE-LCHlch(70.89, 45.15, 347.86°)
OKLaboklab(76.65% 0.1319 -0.0247)
OKLCHoklch(76.65% 0.134 349.4)
XYZxyz(55.8064, 42.0329, 55.0328)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EC0 #8EF2C0
analogous
#F28EF2 #F28EC0 #F28E8E
triadic
#F28EC0 #C0F28E #8EC0F2
tetradic
#F28EC0 #F2F28E #8EF2C0 #8E8EF2
square
#F28EC0 #F2F28E #8EF2C0 #8E8EF2
split-complementary
#F28EC0 #8EF28E #8EF2F2
monochromatic
#E52083 #EC57A1 #F28EC0 #F8C5DF #FCE4F0

Accessibility & contrast

On white

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

On black

9.41
#F28EC0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EC0
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EC0#FFFFFF#000000##000000
##F28EC01.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A3C2
Deuteranopia (green-blind)
#B1B4BD
Tritanopia (blue-blind)
#FF8BA0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f28ec0;
/* rgb */ color: rgb(242, 142, 192);
/* oklch */ color: oklch(76.6% 0.134 349.4);
Tailwind
colors: {
  custom: {
    50: '#f8b1d3',
    500: '#f28ec0',
    950: '#000000',
  },
}
SCSS
$custom: #f28ec0;
$custom-light: #f8b1d3;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ec0",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 192
  },
  "hsl": {
    "h": 330,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76648,
    "c": 0.13419,
    "h": 349.4
  },
  "luminance": 0.42029
}

Semantic roles & 50–950 ramp

primary
#F28EC0
secondary
#D7F4E6
accent
#DC730A
background
#FFFBFC
surface
#FFF6F9
border
#D7D0D2
text
#171114
muted
#858082

Preview Lab

Preview with #F28EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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