#F851CB#F851CB

#F851CB is a light, highly saturated pink. Relative luminance 0.302; OKLCH L 70.2% C 0.236 H 340.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#F851CB
RGBrgb(248, 81, 203)
HSLhsl(316, 92%, 65%)
HSVhsv(316, 67%, 97%)
CMYKcmyk(0%, 67.3%, 18.1%, 2.7%)
CIE-LABlab(61.79, 74.77, -29.43)
CIE-LCHlch(61.79, 80.36, 338.51°)
OKLaboklab(70.18% 0.2228 -0.0793)
OKLCHoklch(70.18% 0.236 340.4)
XYZxyz(52.4347, 30.1581, 59.5479)
Luminance0.3015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F851CB #51F87E
analogous
#D251F8 #F851CB #F85177
triadic
#F851CB #CBF851 #51CBF8
tetradic
#F851CB #F8D251 #51F87E #5177F8
square
#F851CB #F8D251 #51F87E #5177F8
split-complementary
#F851CB #77F851 #51F8D2
monochromatic
#C70893 #F616B9 #F851CB #FA8CDD #FDC7EE

Accessibility & contrast

On white

2.99
#F851CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#F851CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F851CB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F851CB#FFFFFF#000000##000000
##F851CB1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CF
Deuteranopia (green-blind)
#909FC7
Tritanopia (blue-blind)
#FF5587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f851cb;
/* rgb */ color: rgb(248, 81, 203);
/* oklch */ color: oklch(70.2% 0.236 340.4);
Tailwind
colors: {
  custom: {
    50: '#ff8edb',
    500: '#f851cb',
    950: '#000000',
  },
}
SCSS
$custom: #f851cb;
$custom-light: #ff8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#f851cb",
  "rgb": {
    "r": 248,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 316.168,
    "s": 92.265,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70177,
    "c": 0.23644,
    "h": 340.4
  },
  "luminance": 0.30153
}

Semantic roles & 50–950 ramp

primary
#F851CB
secondary
#B6EFC5
accent
#E63E00
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F851CB

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

Preview Lab → · Contrast checker → · Palette generator →

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