#F862D8#F862D8

#F862D8 is a light, highly saturated pink. Relative luminance 0.337; OKLCH L 72.5% C 0.223 H 336.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#F862D8
RGBrgb(248, 98, 216)
HSLhsl(313, 91%, 68%)
HSVhsv(313, 60%, 97%)
CMYKcmyk(0%, 60.5%, 12.9%, 2.7%)
CIE-LABlab(64.69, 70.06, -32.28)
CIE-LCHlch(64.69, 77.14, 335.26°)
OKLaboklab(72.47% 0.2053 -0.0875)
OKLCHoklch(72.47% 0.223 336.9)
XYZxyz(55.4745, 33.6542, 68.5266)
Luminance0.3365 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F862D8 #62F882
analogous
#CD62F8 #F862D8 #F8628D
triadic
#F862D8 #D8F862 #62D8F8
tetradic
#F862D8 #F8CD62 #62F882 #628DF8
square
#F862D8 #F8CD62 #62F882 #628DF8
split-complementary
#F862D8 #8DF862 #62F8CD
monochromatic
#D60AAA #F527C9 #F862D8 #FB9DE7 #FDD7F5

Accessibility & contrast

On white

2.72
#F862D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#F862D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F862D8
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F862D8#FFFFFF#000000##000000
##F862D81.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#658EDC
Deuteranopia (green-blind)
#93A5D4
Tritanopia (blue-blind)
#FF6994
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f862d8;
/* rgb */ color: rgb(248, 98, 216);
/* oklch */ color: oklch(72.5% 0.223 336.9);
Tailwind
colors: {
  custom: {
    50: '#fe97e4',
    500: '#f862d8',
    950: '#000000',
  },
}
SCSS
$custom: #f862d8;
$custom-light: #fe97e4;
$custom-dark: #000000;
JSON
{
  "hex": "#f862d8",
  "rgb": {
    "r": 248,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 312.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72469,
    "c": 0.22315,
    "h": 336.9
  },
  "luminance": 0.3365
}

Semantic roles & 50–950 ramp

primary
#F862D8
secondary
#C4F2CE
accent
#E63100
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E15
muted
#867E84

Preview Lab

Preview with #F862D8

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

Preview Lab → · Contrast checker → · Palette generator →

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