#F28BDF#F28BDF

#F28BDF is a light, vivid pink. Relative luminance 0.427; OKLCH L 77.3% C 0.161 H 334.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#F28BDF
RGBrgb(242, 139, 223)
HSLhsl(311, 80%, 75%)
HSVhsv(311, 43%, 95%)
CMYKcmyk(0%, 42.6%, 7.9%, 5.1%)
CIE-LABlab(71.33, 50.50, -25.99)
CIE-LCHlch(71.33, 56.79, 332.76°)
OKLaboklab(77.32% 0.145 -0.0702)
OKLCHoklch(77.32% 0.161 334.2)
XYZxyz(59.1696, 42.6736, 74.9180)
Luminance0.4267 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BDF #8BF29E
analogous
#D28BF2 #F28BDF #F28BAC
triadic
#F28BDF #DFF28B #8BDFF2
tetradic
#F28BDF #F2D28B #8BF29E #8BACF2
square
#F28BDF #F2D28B #8BF29E #8BACF2
split-complementary
#F28BDF #ACF28B #8BF2D2
monochromatic
#E61DC1 #EC54D0 #F28BDF #F8C2EE #FCE3F7

Accessibility & contrast

On white

2.20
#F28BDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#F28BDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28BDF
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28BDF#FFFFFF#000000##000000
##F28BDF1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA5E2
Deuteranopia (green-blind)
#A6B4DC
Tritanopia (blue-blind)
#FB90AB
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f28bdf;
/* rgb */ color: rgb(242, 139, 223);
/* oklch */ color: oklch(77.3% 0.161 334.2);
Tailwind
colors: {
  custom: {
    50: '#f8afe9',
    500: '#f28bdf',
    950: '#000000',
  },
}
SCSS
$custom: #f28bdf;
$custom-light: #f8afe9;
$custom-dark: #000000;
JSON
{
  "hex": "#f28bdf",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 223
  },
  "hsl": {
    "h": 311.068,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77323,
    "c": 0.16109,
    "h": 334.2
  },
  "luminance": 0.4267
}

Semantic roles & 50–950 ramp

primary
#F28BDF
secondary
#D7F4DD
accent
#DC3009
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F28BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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