#F87F9D#F87F9D

#F87F9D is a light, vivid red. Relative luminance 0.376; OKLCH L 74.1% C 0.150 H 5.7°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#F87F9D
RGBrgb(248, 127, 157)
HSLhsl(345, 90%, 74%)
HSVhsv(345, 49%, 97%)
CMYKcmyk(0%, 48.8%, 36.7%, 2.7%)
CIE-LABlab(67.71, 49.16, 5.53)
CIE-LCHlch(67.71, 49.47, 6.42°)
OKLaboklab(74.08% 0.1493 0.0149)
OKLCHoklch(74.08% 0.15 5.7)
XYZxyz(52.3893, 37.5745, 36.3853)
Luminance0.3757 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87F9D #7FF8DA
analogous
#F87FD9 #F87F9D #F89D7F
triadic
#F87F9D #9DF87F #7F9DF8
tetradic
#F87F9D #D9F87F #7FF8DA #9D7FF8
square
#F87F9D #D9F87F #7FF8DA #9D7FF8
split-complementary
#F87F9D #7FF89D #7FD9F8
monochromatic
#F00D45 #F54571 #F87F9D #FBB9C9 #FDE2E9

Accessibility & contrast

On white

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

On black

8.51
#F87F9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87F9D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87F9D#FFFFFF#000000##000000
##F87F9D1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94979E
Deuteranopia (green-blind)
#B3AE9A
Tritanopia (blue-blind)
#FF748A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f87f9d;
/* rgb */ color: rgb(248, 127, 157);
/* oklch */ color: oklch(74.1% 0.150 5.7);
Tailwind
colors: {
  custom: {
    50: '#fea7b9',
    500: '#f87f9d',
    950: '#000000',
  },
}
SCSS
$custom: #f87f9d;
$custom-light: #fea7b9;
$custom-dark: #000000;
JSON
{
  "hex": "#f87f9d",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 157
  },
  "hsl": {
    "h": 345.124,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74077,
    "c": 0.15006,
    "h": 5.7
  },
  "luminance": 0.3757
}

Semantic roles & 50–950 ramp

primary
#F87F9D
secondary
#D6F5EE
accent
#E6AD00
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181011
muted
#867F80

Preview Lab

Preview with #F87F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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