#F28EDD#F28EDD

#F28EDD is a light, vivid pink. Relative luminance 0.434; OKLCH L 77.7% C 0.154 H 335.2°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#F28EDD
RGBrgb(242, 142, 221)
HSLhsl(313, 79%, 75%)
HSVhsv(313, 41%, 95%)
CMYKcmyk(0%, 41.3%, 8.7%, 5.1%)
CIE-LABlab(71.86, 48.65, -24.09)
CIE-LCHlch(71.86, 54.29, 333.66°)
OKLaboklab(77.69% 0.1402 -0.0649)
OKLCHoklch(77.69% 0.154 335.2)
XYZxyz(59.3419, 43.4471, 73.6530)
Luminance0.4344 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EDD #8EF2A3
analogous
#D58EF2 #F28EDD #F28EAB
triadic
#F28EDD #DDF28E #8EDDF2
tetradic
#F28EDD #F2D58E #8EF2A3 #8EABF2
square
#F28EDD #F2D58E #8EF2A3 #8EABF2
split-complementary
#F28EDD #ABF28E #8EF2D5
monochromatic
#E520BC #EC57CC #F28EDD #F8C5EE #FCE4F7

Accessibility & contrast

On white

2.17
#F28EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#F28EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EDD
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EDD#FFFFFF#000000##000000
##F28EDD1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E0
Deuteranopia (green-blind)
#A8B5DA
Tritanopia (blue-blind)
#FB92AC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f28edd;
/* rgb */ color: rgb(242, 142, 221);
/* oklch */ color: oklch(77.7% 0.154 335.2);
Tailwind
colors: {
  custom: {
    50: '#f8b1e7',
    500: '#f28edd',
    950: '#000000',
  },
}
SCSS
$custom: #f28edd;
$custom-light: #f8b1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f28edd",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 312.6,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.77693,
    "c": 0.15443,
    "h": 335.2
  },
  "luminance": 0.43444
}

Semantic roles & 50–950 ramp

primary
#F28EDD
secondary
#D7F4DD
accent
#DC360A
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F28EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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