#F87CB2#F87CB2

#F87CB2 is a light, vivid pink. Relative luminance 0.376; OKLCH L 74.3% C 0.162 H 354.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#F87CB2
RGBrgb(248, 124, 178)
HSLhsl(334, 90%, 73%)
HSVhsv(334, 50%, 97%)
CMYKcmyk(0%, 50%, 28.2%, 2.7%)
CIE-LABlab(67.72, 53.15, -6.30)
CIE-LCHlch(67.72, 53.52, 353.24°)
OKLaboklab(74.28% 0.1609 -0.0159)
OKLCHoklch(74.28% 0.162 354.3)
XYZxyz(53.9570, 37.5909, 46.5249)
Luminance0.3759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CB2 #7CF8C2
analogous
#F87CF0 #F87CB2 #F8847C
triadic
#F87CB2 #B2F87C #7CB2F8
tetradic
#F87CB2 #F0F87C #7CF8C2 #847CF8
square
#F87CB2 #F0F87C #7CF8C2 #847CF8
split-complementary
#F87CB2 #7CF884 #7CF0F8
monochromatic
#ED0D6E #F54290 #F87CB2 #FBB6D4 #FDE2EE

Accessibility & contrast

On white

2.47
#F87CB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#F87CB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CB2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CB2#FFFFFF#000000##000000
##F87CB21.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C97B4
Deuteranopia (green-blind)
#ADADAF
Tritanopia (blue-blind)
#FF7690
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f87cb2;
/* rgb */ color: rgb(248, 124, 178);
/* oklch */ color: oklch(74.3% 0.162 354.3);
Tailwind
colors: {
  custom: {
    50: '#fda5c9',
    500: '#f87cb2',
    950: '#000000',
  },
}
SCSS
$custom: #f87cb2;
$custom-light: #fda5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f87cb2",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 333.871,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74276,
    "c": 0.16168,
    "h": 354.3
  },
  "luminance": 0.37586
}

Semantic roles & 50–950 ramp

primary
#F87CB2
secondary
#D5F6E8
accent
#E68200
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181013
muted
#867F82

Preview Lab

Preview with #F87CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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