#F284DC#F284DC

#F284DC is a light, vivid pink. Relative luminance 0.405; OKLCH L 76.2% C 0.170 H 335.1°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#F284DC
RGBrgb(242, 132, 220)
HSLhsl(312, 81%, 73%)
HSVhsv(312, 45%, 95%)
CMYKcmyk(0%, 45.5%, 9.1%, 5.1%)
CIE-LABlab(69.86, 53.49, -26.59)
CIE-LCHlch(69.86, 59.74, 333.57°)
OKLaboklab(76.18% 0.1544 -0.0718)
OKLCHoklch(76.18% 0.17 335.1)
XYZxyz(57.7875, 40.5507, 72.4796)
Luminance0.4055 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F284DC #84F29A
analogous
#D184F2 #F284DC #F284A5
triadic
#F284DC #DCF284 #84DCF2
tetradic
#F284DC #F2D184 #84F29A #84A5F2
square
#F284DC #F2D184 #84F29A #84A5F2
split-complementary
#F284DC #A5F284 #84F2D1
monochromatic
#E418BB #EC4DCC #F284DC #F8BBEC #FCE3F7

Accessibility & contrast

On white

2.31
#F284DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#F284DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F284DC
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F284DC#FFFFFF#000000##000000
##F284DC1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A1DF
Deuteranopia (green-blind)
#A2B1D9
Tritanopia (blue-blind)
#FC89A6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f284dc;
/* rgb */ color: rgb(242, 132, 220);
/* oklch */ color: oklch(76.2% 0.170 335.1);
Tailwind
colors: {
  custom: {
    50: '#f8abe7',
    500: '#f284dc',
    950: '#000000',
  },
}
SCSS
$custom: #f284dc;
$custom-light: #f8abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#f284dc",
  "rgb": {
    "r": 242,
    "g": 132,
    "b": 220
  },
  "hsl": {
    "h": 312,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76184,
    "c": 0.17027,
    "h": 335.1
  },
  "luminance": 0.40547
}

Semantic roles & 50–950 ramp

primary
#F284DC
secondary
#D7F4DD
accent
#DD3308
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F284DC

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

Preview Lab → · Contrast checker → · Palette generator →

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