#F28CE0#F28CE0

#F28CE0 is a light, vivid pink. Relative luminance 0.430; OKLCH L 77.5% C 0.160 H 333.8°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#F28CE0
RGBrgb(242, 140, 224)
HSLhsl(311, 80%, 75%)
HSVhsv(311, 42%, 95%)
CMYKcmyk(0%, 42.1%, 7.4%, 5.1%)
CIE-LABlab(71.57, 50.16, -26.18)
CIE-LCHlch(71.57, 56.58, 332.44°)
OKLaboklab(77.51% 0.1438 -0.0707)
OKLCHoklch(77.51% 0.16 333.8)
XYZxyz(59.4503, 43.0186, 75.6786)
Luminance0.4301 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28CE0 #8CF29E
analogous
#D18CF2 #F28CE0 #F28CAD
triadic
#F28CE0 #E0F28C #8CE0F2
tetradic
#F28CE0 #F2D18C #8CF29E #8CADF2
square
#F28CE0 #F2D18C #8CF29E #8CADF2
split-complementary
#F28CE0 #ADF28C #8CF2D1
monochromatic
#E61EC2 #EC55D1 #F28CE0 #F8C3EF #FCE4F8

Accessibility & contrast

On white

2.19
#F28CE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#F28CE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28CE0
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28CE0#FFFFFF#000000##000000
##F28CE01.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA6E3
Deuteranopia (green-blind)
#A6B5DD
Tritanopia (blue-blind)
#FB91AC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f28ce0;
/* rgb */ color: rgb(242, 140, 224);
/* oklch */ color: oklch(77.5% 0.160 333.8);
Tailwind
colors: {
  custom: {
    50: '#f8b0ea',
    500: '#f28ce0',
    950: '#000000',
  },
}
SCSS
$custom: #f28ce0;
$custom-light: #f8b0ea;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ce0",
  "rgb": {
    "r": 242,
    "g": 140,
    "b": 224
  },
  "hsl": {
    "h": 310.588,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77511,
    "c": 0.16024,
    "h": 333.8
  },
  "luminance": 0.43015
}

Semantic roles & 50–950 ramp

primary
#F28CE0
secondary
#D7F4DC
accent
#DC2F0A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F28CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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