#F28EC6#F28EC6

#F28EC6 is a light, vivid pink. Relative luminance 0.423; OKLCH L 76.9% C 0.138 H 346.1°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#F28EC6
RGBrgb(242, 142, 198)
HSLhsl(326, 79%, 75%)
HSVhsv(326, 41%, 95%)
CMYKcmyk(0%, 41.3%, 18.2%, 5.1%)
CIE-LABlab(71.08, 45.03, -12.55)
CIE-LCHlch(71.08, 46.74, 344.43°)
OKLaboklab(76.85% 0.1338 -0.033)
OKLCHoklch(76.85% 0.138 346.1)
XYZxyz(56.4848, 42.3042, 58.6056)
Luminance0.4230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EC6 #8EF2BA
analogous
#EC8EF2 #F28EC6 #F28E94
triadic
#F28EC6 #C6F28E #8EC6F2
tetradic
#F28EC6 #F2EC8E #8EF2BA #8E94F2
square
#F28EC6 #F2EC8E #8EF2BA #8E94F2
split-complementary
#F28EC6 #94F28E #8EF2EC
monochromatic
#E5208F #EC57AA #F28EC6 #F8C5E2 #FCE4F1

Accessibility & contrast

On white

2.22
#F28EC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#F28EC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EC6
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EC6#FFFFFF#000000##000000
##F28EC61.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A4C8
Deuteranopia (green-blind)
#AFB4C3
Tritanopia (blue-blind)
#FE8DA2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f28ec6;
/* rgb */ color: rgb(242, 142, 198);
/* oklch */ color: oklch(76.9% 0.138 346.1);
Tailwind
colors: {
  custom: {
    50: '#f8b1d7',
    500: '#f28ec6',
    950: '#000000',
  },
}
SCSS
$custom: #f28ec6;
$custom-light: #f8b1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ec6",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 198
  },
  "hsl": {
    "h": 326.4,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76851,
    "c": 0.13777,
    "h": 346.1
  },
  "luminance": 0.423
}

Semantic roles & 50–950 ramp

primary
#F28EC6
secondary
#D7F4E4
accent
#DC660A
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #F28EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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