#F287D8#F287D8

#F287D8 is a light, vivid pink. Relative luminance 0.412; OKLCH L 76.5% C 0.162 H 336.8°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#F287D8
RGBrgb(242, 135, 216)
HSLhsl(315, 80%, 74%)
HSVhsv(315, 44%, 95%)
CMYKcmyk(0%, 44.2%, 10.7%, 5.1%)
CIE-LABlab(70.29, 51.36, -23.72)
CIE-LCHlch(70.29, 56.57, 335.21°)
OKLaboklab(76.46% 0.1491 -0.0638)
OKLCHoklch(76.46% 0.162 336.8)
XYZxyz(57.6767, 41.1667, 69.8605)
Luminance0.4116 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F287D8 #87F2A1
analogous
#D687F2 #F287D8 #F287A3
triadic
#F287D8 #D8F287 #87D8F2
tetradic
#F287D8 #F2D687 #87F2A1 #87A3F2
square
#F287D8 #F2D687 #87F2A1 #87A3F2
split-complementary
#F287D8 #A3F287 #87F2D6
monochromatic
#E619B4 #EC50C6 #F287D8 #F8BEEA #FCE3F6

Accessibility & contrast

On white

2.27
#F287D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#F287D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F287D8
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F287D8#FFFFFF#000000##000000
##F287D81.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A2DB
Deuteranopia (green-blind)
#A5B2D5
Tritanopia (blue-blind)
#FC8BA6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f287d8;
/* rgb */ color: rgb(242, 135, 216);
/* oklch */ color: oklch(76.5% 0.162 336.8);
Tailwind
colors: {
  custom: {
    50: '#f8ade4',
    500: '#f287d8',
    950: '#000000',
  },
}
SCSS
$custom: #f287d8;
$custom-light: #f8ade4;
$custom-dark: #000000;
JSON
{
  "hex": "#f287d8",
  "rgb": {
    "r": 242,
    "g": 135,
    "b": 216
  },
  "hsl": {
    "h": 314.579,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76459,
    "c": 0.16217,
    "h": 336.8
  },
  "luminance": 0.41163
}

Semantic roles & 50–950 ramp

primary
#F287D8
secondary
#D7F4DE
accent
#DD3C09
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F287D8

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

Preview Lab → · Contrast checker → · Palette generator →

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