#F28ECF#F28ECF

#F28ECF is a light, vivid pink. Relative luminance 0.427; OKLCH L 77.2% C 0.144 H 341.6°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#F28ECF
RGBrgb(242, 142, 207)
HSLhsl(321, 79%, 75%)
HSVhsv(321, 41%, 95%)
CMYKcmyk(0%, 41.3%, 14.5%, 5.1%)
CIE-LABlab(71.37, 46.40, -17.10)
CIE-LCHlch(71.37, 49.45, 339.77°)
OKLaboklab(77.17% 0.1364 -0.0454)
OKLCHoklch(77.17% 0.144 341.6)
XYZxyz(57.5539, 42.7319, 64.2360)
Luminance0.4273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28ECF #8EF2B1
analogous
#E38EF2 #F28ECF #F28E9D
triadic
#F28ECF #CFF28E #8ECFF2
tetradic
#F28ECF #F2E38E #8EF2B1 #8E9DF2
square
#F28ECF #F2E38E #8EF2B1 #8E9DF2
split-complementary
#F28ECF #9DF28E #8EF2E3
monochromatic
#E520A0 #EC57B8 #F28ECF #F8C5E6 #FCE4F3

Accessibility & contrast

On white

2.20
#F28ECF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#F28ECF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28ECF
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28ECF#FFFFFF#000000##000000
##F28ECF1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A5D1
Deuteranopia (green-blind)
#ADB5CC
Tritanopia (blue-blind)
#FD8FA6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f28ecf;
/* rgb */ color: rgb(242, 142, 207);
/* oklch */ color: oklch(77.2% 0.144 341.6);
Tailwind
colors: {
  custom: {
    50: '#f8b1dd',
    500: '#f28ecf',
    950: '#000000',
  },
}
SCSS
$custom: #f28ecf;
$custom-light: #f8b1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ecf",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 207
  },
  "hsl": {
    "h": 321,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.77168,
    "c": 0.14377,
    "h": 341.6
  },
  "luminance": 0.42728
}

Semantic roles & 50–950 ramp

primary
#F28ECF
secondary
#D7F4E1
accent
#DC530A
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #F28ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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