#F87CA2#F87CA2

#F87CA2 is a light, vivid pink. Relative luminance 0.370; OKLCH L 73.8% C 0.156 H 2.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#F87CA2
RGBrgb(248, 124, 162)
HSLhsl(342, 90%, 73%)
HSVhsv(342, 50%, 97%)
CMYKcmyk(0%, 50%, 34.7%, 2.7%)
CIE-LABlab(67.27, 51.19, 2.07)
CIE-LCHlch(67.27, 51.23, 2.32°)
OKLaboklab(73.79% 0.1556 0.0061)
OKLCHoklch(73.79% 0.156 2.2)
XYZxyz(52.4432, 36.9854, 38.5524)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CA2 #7CF8D2
analogous
#F87CE0 #F87CA2 #F8947C
triadic
#F87CA2 #A2F87C #7CA2F8
tetradic
#F87CA2 #E0F87C #7CF8D2 #947CF8
square
#F87CA2 #E0F87C #7CF8D2 #947CF8
split-complementary
#F87CA2 #7CF894 #7CE0F8
monochromatic
#ED0D51 #F54279 #F87CA2 #FBB6CB #FDE2EA

Accessibility & contrast

On white

2.50
#F87CA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#F87CA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CA2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CA2#FFFFFF#000000##000000
##F87CA21.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9195A3
Deuteranopia (green-blind)
#B0AD9F
Tritanopia (blue-blind)
#FF728A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f87ca2;
/* rgb */ color: rgb(248, 124, 162);
/* oklch */ color: oklch(73.8% 0.156 2.2);
Tailwind
colors: {
  custom: {
    50: '#fea5bd',
    500: '#f87ca2',
    950: '#000000',
  },
}
SCSS
$custom: #f87ca2;
$custom-light: #fea5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ca2",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 341.613,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73788,
    "c": 0.15571,
    "h": 2.2
  },
  "luminance": 0.3698
}

Semantic roles & 50–950 ramp

primary
#F87CA2
secondary
#D5F6EC
accent
#E69F00
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F87CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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