#F862C7#F862C7

#F862C7 is a light, highly saturated pink. Relative luminance 0.328; OKLCH L 71.8% C 0.212 H 342.6°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#F862C7
RGBrgb(248, 98, 199)
HSLhsl(320, 91%, 68%)
HSVhsv(320, 60%, 97%)
CMYKcmyk(0%, 60.5%, 19.8%, 2.7%)
CIE-LABlab(64.02, 67.66, -23.74)
CIE-LCHlch(64.02, 71.70, 340.66°)
OKLaboklab(71.76% 0.2021 -0.0634)
OKLCHoklch(71.76% 0.212 342.6)
XYZxyz(53.3893, 32.8202, 57.5449)
Luminance0.3281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F862C7 #62F893
analogous
#DE62F8 #F862C7 #F8627C
triadic
#F862C7 #C7F862 #62C7F8
tetradic
#F862C7 #F8DE62 #62F893 #627CF8
square
#F862C7 #F8DE62 #62F893 #627CF8
split-complementary
#F862C7 #7CF862 #62F8DE
monochromatic
#D60A93 #F527B2 #F862C7 #FB9DDC #FDD7F1

Accessibility & contrast

On white

2.78
#F862C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#F862C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F862C7
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F862C7#FFFFFF#000000##000000
##F862C71.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8BCA
Deuteranopia (green-blind)
#99A4C3
Tritanopia (blue-blind)
#FF638C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f862c7;
/* rgb */ color: rgb(248, 98, 199);
/* oklch */ color: oklch(71.8% 0.212 342.6);
Tailwind
colors: {
  custom: {
    50: '#fe96d8',
    500: '#f862c7',
    950: '#000000',
  },
}
SCSS
$custom: #f862c7;
$custom-light: #fe96d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f862c7",
  "rgb": {
    "r": 248,
    "g": 98,
    "b": 199
  },
  "hsl": {
    "h": 319.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71755,
    "c": 0.21185,
    "h": 342.6
  },
  "luminance": 0.32815
}

Semantic roles & 50–950 ramp

primary
#F862C7
secondary
#C4F2D3
accent
#E64B00
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180E14
muted
#867E83

Preview Lab

Preview with #F862C7

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

Preview Lab → · Contrast checker → · Palette generator →

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