#F87CE2#F87CE2

#F87CE2 is a light, vivid pink. Relative luminance 0.399; OKLCH L 76.1% C 0.192 H 334.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#F87CE2
RGBrgb(248, 124, 226)
HSLhsl(311, 90%, 73%)
HSVhsv(311, 50%, 97%)
CMYKcmyk(0%, 50%, 8.9%, 2.7%)
CIE-LABlab(69.37, 60.08, -30.59)
CIE-LCHlch(69.37, 67.42, 333.01°)
OKLaboklab(76.06% 0.1734 -0.0829)
OKLCHoklch(76.06% 0.192 334.4)
XYZxyz(59.6466, 39.8667, 76.4902)
Luminance0.3986 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CE2 #7CF892
analogous
#D07CF8 #F87CE2 #F87CA4
triadic
#F87CE2 #E2F87C #7CE2F8
tetradic
#F87CE2 #F8D07C #7CF892 #7CA4F8
square
#F87CE2 #F8D07C #7CF892 #7CA4F8
split-complementary
#F87CE2 #A4F87C #7CF8D0
monochromatic
#ED0DC5 #F542D5 #F87CE2 #FBB6EF #FDE2F9

Accessibility & contrast

On white

2.34
#F87CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#F87CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CE2
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CE2#FFFFFF#000000##000000
##F87CE21.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9EE5
Deuteranopia (green-blind)
#9FB0DF
Tritanopia (blue-blind)
#FF83A5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f87ce2;
/* rgb */ color: rgb(248, 124, 226);
/* oklch */ color: oklch(76.1% 0.192 334.4);
Tailwind
colors: {
  custom: {
    50: '#fda6eb',
    500: '#f87ce2',
    950: '#000000',
  },
}
SCSS
$custom: #f87ce2;
$custom-light: #fda6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ce2",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 310.645,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76057,
    "c": 0.19216,
    "h": 334.4
  },
  "luminance": 0.39863
}

Semantic roles & 50–950 ramp

primary
#F87CE2
secondary
#D5F6DB
accent
#E62900
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F87CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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