#F862D6#F862D6

#F862D6 is a light, highly saturated pink. Relative luminance 0.335; OKLCH L 72.4% C 0.222 H 337.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#F862D6
RGBrgb(248, 98, 214)
HSLhsl(314, 91%, 68%)
HSVhsv(314, 60%, 97%)
CMYKcmyk(0%, 60.5%, 13.7%, 2.7%)
CIE-LABlab(64.60, 69.77, -31.28)
CIE-LCHlch(64.60, 76.46, 335.85°)
OKLaboklab(72.38% 0.205 -0.0846)
OKLCHoklch(72.38% 0.222 337.6)
XYZxyz(55.2175, 33.5514, 67.1732)
Luminance0.3355 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F862D6 #62F884
analogous
#CF62F8 #F862D6 #F8628B
triadic
#F862D6 #D6F862 #62D6F8
tetradic
#F862D6 #F8CF62 #62F884 #628BF8
square
#F862D6 #F8CF62 #62F884 #628BF8
split-complementary
#F862D6 #8BF862 #62F8CF
monochromatic
#D60AA8 #F527C7 #F862D6 #FB9DE5 #FDD7F5

Accessibility & contrast

On white

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

On black

7.71
#F862D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F862D6
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F862D6#FFFFFF#000000##000000
##F862D61.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#668EDA
Deuteranopia (green-blind)
#94A5D2
Tritanopia (blue-blind)
#FF6893
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f862d6;
/* rgb */ color: rgb(248, 98, 214);
/* oklch */ color: oklch(72.4% 0.222 337.6);
Tailwind
colors: {
  custom: {
    50: '#fe97e3',
    500: '#f862d6',
    950: '#000000',
  },
}
SCSS
$custom: #f862d6;
$custom-light: #fe97e3;
$custom-dark: #000000;
JSON
{
  "hex": "#f862d6",
  "rgb": {
    "r": 248,
    "g": 98,
    "b": 214
  },
  "hsl": {
    "h": 313.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72382,
    "c": 0.22176,
    "h": 337.6
  },
  "luminance": 0.33547
}

Semantic roles & 50–950 ramp

primary
#F862D6
secondary
#C4F2CE
accent
#E63400
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #F862D6

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

Preview Lab → · Contrast checker → · Palette generator →

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