#F862DF#F862DF

#F862DF is a light, highly saturated pink. Relative luminance 0.340; OKLCH L 72.8% C 0.228 H 334.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#F862DF
RGBrgb(248, 98, 223)
HSLhsl(310, 91%, 68%)
HSVhsv(310, 60%, 97%)
CMYKcmyk(0%, 60.5%, 10.1%, 2.7%)
CIE-LABlab(64.98, 71.10, -35.74)
CIE-LCHlch(64.98, 79.58, 333.31°)
OKLaboklab(72.78% 0.2064 -0.0973)
OKLCHoklch(72.78% 0.228 334.8)
XYZxyz(56.3988, 34.0240, 73.3946)
Luminance0.3402 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F862DF #62F87B
analogous
#C662F8 #F862DF #F86294
triadic
#F862DF #DFF862 #62DFF8
tetradic
#F862DF #F8C662 #62F87B #6294F8
square
#F862DF #F8C662 #62F87B #6294F8
split-complementary
#F862DF #94F862 #62F8C6
monochromatic
#D60AB4 #F527D3 #F862DF #FB9DEB #FDD7F7

Accessibility & contrast

On white

2.69
#F862DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#F862DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F862DF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F862DF#FFFFFF#000000##000000
##F862DF1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE3
Deuteranopia (green-blind)
#91A6DB
Tritanopia (blue-blind)
#FF6C98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f862df;
/* rgb */ color: rgb(248, 98, 223);
/* oklch */ color: oklch(72.8% 0.228 334.8);
Tailwind
colors: {
  custom: {
    50: '#fe97e9',
    500: '#f862df',
    950: '#000000',
  },
}
SCSS
$custom: #f862df;
$custom-light: #fe97e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f862df",
  "rgb": {
    "r": 248,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 310,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.7278,
    "c": 0.22814,
    "h": 334.8
  },
  "luminance": 0.3402
}

Semantic roles & 50–950 ramp

primary
#F862DF
secondary
#C4F2CB
accent
#E62600
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F862DF

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

Preview Lab → · Contrast checker → · Palette generator →

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