#F862A7#F862A7

#F862A7 is a light, vivid pink. Relative luminance 0.315; OKLCH L 70.6% C 0.195 H 354.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#F862A7
RGBrgb(248, 98, 167)
HSLhsl(332, 91%, 68%)
HSVhsv(332, 60%, 97%)
CMYKcmyk(0%, 60.5%, 32.7%, 2.7%)
CIE-LABlab(62.92, 63.62, -7.17)
CIE-LCHlch(62.92, 64.02, 353.57°)
OKLaboklab(70.58% 0.1939 -0.0181)
OKLCHoklch(70.58% 0.195 354.7)
XYZxyz(50.0567, 31.4871, 39.9932)
Luminance0.3148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F862A7 #62F8B3
analogous
#F862F2 #F862A7 #F86862
triadic
#F862A7 #A7F862 #62A7F8
tetradic
#F862A7 #F2F862 #62F8B3 #6862F8
square
#F862A7 #F2F862 #62F8B3 #6862F8
split-complementary
#F862A7 #62F868 #62F2F8
monochromatic
#D60A68 #F52786 #F862A7 #FB9DC8 #FDD7E9

Accessibility & contrast

On white

2.88
#F862A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#F862A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F862A7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F862A7#FFFFFF#000000##000000
##F862A71.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7987A9
Deuteranopia (green-blind)
#A2A2A3
Tritanopia (blue-blind)
#FF587D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f862a7;
/* rgb */ color: rgb(248, 98, 167);
/* oklch */ color: oklch(70.6% 0.195 354.7);
Tailwind
colors: {
  custom: {
    50: '#ff96c1',
    500: '#f862a7',
    950: '#000000',
  },
}
SCSS
$custom: #f862a7;
$custom-light: #ff96c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f862a7",
  "rgb": {
    "r": 248,
    "g": 98,
    "b": 167
  },
  "hsl": {
    "h": 332.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70583,
    "c": 0.19478,
    "h": 354.7
  },
  "luminance": 0.31482
}

Semantic roles & 50–950 ramp

primary
#F862A7
secondary
#C4F2DD
accent
#E67C00
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #F862A7

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

Preview Lab → · Contrast checker → · Palette generator →

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