#F873D7#F873D7

#F873D7 is a light, vivid pink. Relative luminance 0.371; OKLCH L 74.4% C 0.198 H 337.9°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#F873D7
RGBrgb(248, 115, 215)
HSLhsl(315, 90%, 71%)
HSVhsv(315, 54%, 97%)
CMYKcmyk(0%, 53.6%, 13.3%, 2.7%)
CIE-LABlab(67.37, 62.55, -27.57)
CIE-LCHlch(67.37, 68.35, 336.21°)
OKLaboklab(74.43% 0.1833 -0.0743)
OKLCHoklch(74.43% 0.198 337.9)
XYZxyz(57.1085, 37.1285, 68.4355)
Luminance0.3712 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F873D7 #73F894
analogous
#D673F8 #F873D7 #F87394
triadic
#F873D7 #D7F873 #73D7F8
tetradic
#F873D7 #F8D673 #73F894 #7394F8
square
#F873D7 #F8D673 #73F894 #7394F8
split-complementary
#F873D7 #94F873 #73F8D6
monochromatic
#E50BAF #F539C6 #F873D7 #FBADE8 #FEE2F7

Accessibility & contrast

On white

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

On black

8.42
#F873D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F873D7
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F873D7#FFFFFF#000000##000000
##F873D71.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7797DA
Deuteranopia (green-blind)
#9DACD3
Tritanopia (blue-blind)
#FF789B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f873d7;
/* rgb */ color: rgb(248, 115, 215);
/* oklch */ color: oklch(74.4% 0.198 337.9);
Tailwind
colors: {
  custom: {
    50: '#fda0e3',
    500: '#f873d7',
    950: '#000000',
  },
}
SCSS
$custom: #f873d7;
$custom-light: #fda0e3;
$custom-dark: #000000;
JSON
{
  "hex": "#f873d7",
  "rgb": {
    "r": 248,
    "g": 115,
    "b": 215
  },
  "hsl": {
    "h": 314.887,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74434,
    "c": 0.19782,
    "h": 337.9
  },
  "luminance": 0.37124
}

Semantic roles & 50–950 ramp

primary
#F873D7
secondary
#D2F5DB
accent
#E63900
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F873D7

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

Preview Lab → · Contrast checker → · Palette generator →

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