#F28FDB#F28FDB

#F28FDB is a light, vivid pink. Relative luminance 0.436; OKLCH L 77.8% C 0.151 H 336.1°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#F28FDB
RGBrgb(242, 143, 219)
HSLhsl(314, 79%, 75%)
HSVhsv(314, 41%, 95%)
CMYKcmyk(0%, 40.9%, 9.5%, 5.1%)
CIE-LABlab(71.99, 47.81, -22.79)
CIE-LCHlch(71.99, 52.96, 334.52°)
OKLaboklab(77.77% 0.1382 -0.0612)
OKLCHoklch(77.77% 0.151 336.1)
XYZxyz(59.2265, 43.6400, 72.3079)
Luminance0.4364 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FDB #8FF2A6
analogous
#D78FF2 #F28FDB #F28FA9
triadic
#F28FDB #DBF28F #8FDBF2
tetradic
#F28FDB #F2D78F #8FF2A6 #8FA9F2
square
#F28FDB #F2D78F #8FF2A6 #8FA9F2
split-complementary
#F28FDB #A9F28F #8FF2D7
monochromatic
#E521B8 #EC58C9 #F28FDB #F8C6ED #FCE4F6

Accessibility & contrast

On white

2.16
#F28FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#F28FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FDB
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FDB#FFFFFF#000000##000000
##F28FDB1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A7DE
Deuteranopia (green-blind)
#AAB6D8
Tritanopia (blue-blind)
#FB93AB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f28fdb;
/* rgb */ color: rgb(242, 143, 219);
/* oklch */ color: oklch(77.8% 0.151 336.1);
Tailwind
colors: {
  custom: {
    50: '#f8b2e6',
    500: '#f28fdb',
    950: '#000000',
  },
}
SCSS
$custom: #f28fdb;
$custom-light: #f8b2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f28fdb",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 313.939,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77767,
    "c": 0.15113,
    "h": 336.1
  },
  "luminance": 0.43637
}

Semantic roles & 50–950 ramp

primary
#F28FDB
secondary
#D7F4DE
accent
#DB3B0A
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F28FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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