#F862DB#F862DB

#F862DB is a light, highly saturated pink. Relative luminance 0.338; OKLCH L 72.6% C 0.225 H 336.0°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#F862DB
RGBrgb(248, 98, 219)
HSLhsl(312, 91%, 68%)
HSVhsv(312, 60%, 97%)
CMYKcmyk(0%, 60.5%, 11.7%, 2.7%)
CIE-LABlab(64.81, 70.50, -33.76)
CIE-LCHlch(64.81, 78.17, 334.41°)
OKLaboklab(72.6% 0.2058 -0.0917)
OKLCHoklch(72.6% 0.225 336)
XYZxyz(55.8658, 33.8108, 70.5879)
Luminance0.3381 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F862DB #62F87F
analogous
#CA62F8 #F862DB #F86290
triadic
#F862DB #DBF862 #62DBF8
tetradic
#F862DB #F8CA62 #62F87F #6290F8
square
#F862DB #F8CA62 #62F87F #6290F8
split-complementary
#F862DB #90F862 #62F8CA
monochromatic
#D60AAF #F527CE #F862DB #FB9DE8 #FDD7F6

Accessibility & contrast

On white

2.71
#F862DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#F862DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F862DB
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F862DB#FFFFFF#000000##000000
##F862DB1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDF
Deuteranopia (green-blind)
#92A5D7
Tritanopia (blue-blind)
#FF6A96
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f862db;
/* rgb */ color: rgb(248, 98, 219);
/* oklch */ color: oklch(72.6% 0.225 336.0);
Tailwind
colors: {
  custom: {
    50: '#fe97e6',
    500: '#f862db',
    950: '#000000',
  },
}
SCSS
$custom: #f862db;
$custom-light: #fe97e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f862db",
  "rgb": {
    "r": 248,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 311.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72601,
    "c": 0.22527,
    "h": 336
  },
  "luminance": 0.33806
}

Semantic roles & 50–950 ramp

primary
#F862DB
secondary
#C4F2CD
accent
#E62C00
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F862DB

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

Preview Lab → · Contrast checker → · Palette generator →

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