#F862A1#F862A1

#F862A1 is a light, vivid pink. Relative luminance 0.313; OKLCH L 70.4% C 0.192 H 357.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#F862A1
RGBrgb(248, 98, 161)
HSLhsl(335, 91%, 68%)
HSVhsv(335, 60%, 97%)
CMYKcmyk(0%, 60.5%, 35.1%, 2.7%)
CIE-LABlab(62.74, 62.94, -3.99)
CIE-LCHlch(62.74, 63.07, 356.37°)
OKLaboklab(70.39% 0.1921 -0.0097)
OKLCHoklch(70.39% 0.192 357.1)
XYZxyz(49.5149, 31.2704, 37.1395)
Luminance0.3126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F862A1 #62F8B9
analogous
#F862EC #F862A1 #F86E62
triadic
#F862A1 #A1F862 #62A1F8
tetradic
#F862A1 #ECF862 #62F8B9 #6E62F8
square
#F862A1 #ECF862 #62F8B9 #6E62F8
split-complementary
#F862A1 #62F86E #62ECF8
monochromatic
#D60A5F #F5277E #F862A1 #FB9DC4 #FDD7E7

Accessibility & contrast

On white

2.90
#F862A1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#F862A1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F862A1
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F862A1#FFFFFF#000000##000000
##F862A11.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B86A3
Deuteranopia (green-blind)
#A3A29D
Tritanopia (blue-blind)
#FF567B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f862a1;
/* rgb */ color: rgb(248, 98, 161);
/* oklch */ color: oklch(70.4% 0.192 357.1);
Tailwind
colors: {
  custom: {
    50: '#ff96bc',
    500: '#f862a1',
    950: '#000000',
  },
}
SCSS
$custom: #f862a1;
$custom-light: #ff96bc;
$custom-dark: #000000;
JSON
{
  "hex": "#f862a1",
  "rgb": {
    "r": 248,
    "g": 98,
    "b": 161
  },
  "hsl": {
    "h": 334.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70388,
    "c": 0.19234,
    "h": 357.1
  },
  "luminance": 0.31265
}

Semantic roles & 50–950 ramp

primary
#F862A1
secondary
#C4F2DF
accent
#E68500
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#190E12
muted
#877E81

Preview Lab

Preview with #F862A1

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

Preview Lab → · Contrast checker → · Palette generator →

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