#F862D4#F862D4

#F862D4 is a light, highly saturated pink. Relative luminance 0.334; OKLCH L 72.3% C 0.220 H 338.2°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#F862D4
RGBrgb(248, 98, 212)
HSLhsl(314, 91%, 68%)
HSVhsv(314, 60%, 97%)
CMYKcmyk(0%, 60.5%, 14.5%, 2.7%)
CIE-LABlab(64.52, 69.48, -30.29)
CIE-LCHlch(64.52, 75.79, 336.45°)
OKLaboklab(72.3% 0.2046 -0.0818)
OKLCHoklch(72.3% 0.22 338.2)
XYZxyz(54.9636, 33.4499, 65.8363)
Luminance0.3345 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F862D4 #62F886
analogous
#D162F8 #F862D4 #F86289
triadic
#F862D4 #D4F862 #62D4F8
tetradic
#F862D4 #F8D162 #62F886 #6289F8
square
#F862D4 #F8D162 #62F886 #6289F8
split-complementary
#F862D4 #89F862 #62F8D1
monochromatic
#D60AA5 #F527C4 #F862D4 #FB9DE4 #FDD7F4

Accessibility & contrast

On white

2.73
#F862D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#F862D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F862D4
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F862D4#FFFFFF#000000##000000
##F862D41.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#678ED7
Deuteranopia (green-blind)
#95A5D0
Tritanopia (blue-blind)
#FF6892
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f862d4;
/* rgb */ color: rgb(248, 98, 212);
/* oklch */ color: oklch(72.3% 0.220 338.2);
Tailwind
colors: {
  custom: {
    50: '#fe97e1',
    500: '#f862d4',
    950: '#000000',
  },
}
SCSS
$custom: #f862d4;
$custom-light: #fe97e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f862d4",
  "rgb": {
    "r": 248,
    "g": 98,
    "b": 212
  },
  "hsl": {
    "h": 314.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72295,
    "c": 0.22038,
    "h": 338.2
  },
  "luminance": 0.33445
}

Semantic roles & 50–950 ramp

primary
#F862D4
secondary
#C4F2CF
accent
#E63700
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #F862D4

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

Preview Lab → · Contrast checker → · Palette generator →

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