#F28EC2#F28EC2

#F28EC2 is a light, vivid pink. Relative luminance 0.421; OKLCH L 76.7% C 0.135 H 348.3°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#F28EC2
RGBrgb(242, 142, 194)
HSLhsl(329, 79%, 75%)
HSVhsv(329, 41%, 95%)
CMYKcmyk(0%, 41.3%, 19.8%, 5.1%)
CIE-LABlab(70.95, 44.43, -10.52)
CIE-LCHlch(70.95, 45.66, 346.68°)
OKLaboklab(76.72% 0.1325 -0.0275)
OKLCHoklch(76.72% 0.135 348.3)
XYZxyz(56.0295, 42.1221, 56.2078)
Luminance0.4212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EC2 #8EF2BE
analogous
#F08EF2 #F28EC2 #F28E90
triadic
#F28EC2 #C2F28E #8EC2F2
tetradic
#F28EC2 #F2F08E #8EF2BE #8E90F2
square
#F28EC2 #F2F08E #8EF2BE #8E90F2
split-complementary
#F28EC2 #90F28E #8EF2F0
monochromatic
#E52087 #EC57A4 #F28EC2 #F8C5E0 #FCE4F0

Accessibility & contrast

On white

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

On black

9.42
#F28EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EC2
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EC2#FFFFFF#000000##000000
##F28EC21.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A3C4
Deuteranopia (green-blind)
#B0B4BF
Tritanopia (blue-blind)
#FF8CA1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f28ec2;
/* rgb */ color: rgb(242, 142, 194);
/* oklch */ color: oklch(76.7% 0.135 348.3);
Tailwind
colors: {
  custom: {
    50: '#f8b1d4',
    500: '#f28ec2',
    950: '#000000',
  },
}
SCSS
$custom: #f28ec2;
$custom-light: #f8b1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ec2",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 328.8,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76715,
    "c": 0.13535,
    "h": 348.3
  },
  "luminance": 0.42118
}

Semantic roles & 50–950 ramp

primary
#F28EC2
secondary
#D7F4E5
accent
#DC6F0A
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #F28EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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