#F862DC#F862DC

#F862DC is a light, highly saturated pink. Relative luminance 0.339; OKLCH L 72.6% C 0.226 H 335.7°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#F862DC
RGBrgb(248, 98, 220)
HSLhsl(311, 91%, 68%)
HSVhsv(311, 60%, 97%)
CMYKcmyk(0%, 60.5%, 11.3%, 2.7%)
CIE-LABlab(64.85, 70.65, -34.26)
CIE-LCHlch(64.85, 78.52, 334.13°)
OKLaboklab(72.65% 0.2059 -0.0931)
OKLCHoklch(72.65% 0.226 335.7)
XYZxyz(55.9979, 33.8636, 71.2833)
Luminance0.3386 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F862DC #62F87E
analogous
#C962F8 #F862DC #F86291
triadic
#F862DC #DCF862 #62DCF8
tetradic
#F862DC #F8C962 #62F87E #6291F8
square
#F862DC #F8C962 #62F87E #6291F8
split-complementary
#F862DC #91F862 #62F8C9
monochromatic
#D60AB0 #F527CF #F862DC #FB9DE9 #FDD7F6

Accessibility & contrast

On white

2.70
#F862DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#F862DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F862DC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F862DC#FFFFFF#000000##000000
##F862DC1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FE0
Deuteranopia (green-blind)
#92A6D8
Tritanopia (blue-blind)
#FF6B96
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f862dc;
/* rgb */ color: rgb(248, 98, 220);
/* oklch */ color: oklch(72.6% 0.226 335.7);
Tailwind
colors: {
  custom: {
    50: '#fe97e7',
    500: '#f862dc',
    950: '#000000',
  },
}
SCSS
$custom: #f862dc;
$custom-light: #fe97e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f862dc",
  "rgb": {
    "r": 248,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 311.2,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72646,
    "c": 0.22598,
    "h": 335.7
  },
  "luminance": 0.33859
}

Semantic roles & 50–950 ramp

primary
#F862DC
secondary
#C4F2CC
accent
#E62B00
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F862DC

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

Preview Lab → · Contrast checker → · Palette generator →

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