#F87AB5#F87AB5

#F87AB5 is a light, vivid pink. Relative luminance 0.372; OKLCH L 74.1% C 0.166 H 352.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#F87AB5
RGBrgb(248, 122, 181)
HSLhsl(332, 90%, 73%)
HSVhsv(332, 51%, 97%)
CMYKcmyk(0%, 50.8%, 27%, 2.7%)
CIE-LABlab(67.44, 54.50, -8.40)
CIE-LCHlch(67.44, 55.14, 351.23°)
OKLaboklab(74.1% 0.1647 -0.0216)
OKLCHoklch(74.1% 0.166 352.5)
XYZxyz(54.0134, 37.2165, 48.0459)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87AB5 #7AF8BD
analogous
#F87AF4 #F87AB5 #F87E7A
triadic
#F87AB5 #B5F87A #7AB5F8
tetradic
#F87AB5 #F4F87A #7AF8BD #7E7AF8
square
#F87AB5 #F4F87A #7AF8BD #7E7AF8
split-complementary
#F87AB5 #7AF87E #7AF4F8
monochromatic
#EB0C75 #F54095 #F87AB5 #FBB4D5 #FDE2EF

Accessibility & contrast

On white

2.49
#F87AB5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#F87AB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87AB5
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87AB5#FFFFFF#000000##000000
##F87AB51.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A96B7
Deuteranopia (green-blind)
#ABADB2
Tritanopia (blue-blind)
#FF7490
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f87ab5;
/* rgb */ color: rgb(248, 122, 181);
/* oklch */ color: oklch(74.1% 0.166 352.5);
Tailwind
colors: {
  custom: {
    50: '#fda4cb',
    500: '#f87ab5',
    950: '#000000',
  },
}
SCSS
$custom: #f87ab5;
$custom-light: #fda4cb;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ab5",
  "rgb": {
    "r": 248,
    "g": 122,
    "b": 181
  },
  "hsl": {
    "h": 331.905,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74097,
    "c": 0.16615,
    "h": 352.5
  },
  "luminance": 0.37212
}

Semantic roles & 50–950 ramp

primary
#F87AB5
secondary
#D5F6E7
accent
#E67A00
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F87AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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