#F873D4#F873D4

#F873D4 is a light, vivid pink. Relative luminance 0.370; OKLCH L 74.3% C 0.196 H 339.0°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#F873D4
RGBrgb(248, 115, 212)
HSLhsl(316, 90%, 71%)
HSVhsv(316, 54%, 97%)
CMYKcmyk(0%, 53.6%, 14.5%, 2.7%)
CIE-LABlab(67.26, 62.10, -26.07)
CIE-LCHlch(67.26, 67.35, 337.22°)
OKLaboklab(74.31% 0.1827 -0.0701)
OKLCHoklch(74.31% 0.196 339)
XYZxyz(56.7266, 36.9758, 66.4239)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F873D4 #73F897
analogous
#DA73F8 #F873D4 #F87391
triadic
#F873D4 #D4F873 #73D4F8
tetradic
#F873D4 #F8DA73 #73F897 #7391F8
square
#F873D4 #F8DA73 #73F897 #7391F8
split-complementary
#F873D4 #91F873 #73F8DA
monochromatic
#E50BAA #F539C2 #F873D4 #FBADE6 #FEE2F6

Accessibility & contrast

On white

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

On black

8.39
#F873D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F873D4
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F873D4#FFFFFF#000000##000000
##F873D41.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7897D7
Deuteranopia (green-blind)
#9EABD0
Tritanopia (blue-blind)
#FF779A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f873d4;
/* rgb */ color: rgb(248, 115, 212);
/* oklch */ color: oklch(74.3% 0.196 339.0);
Tailwind
colors: {
  custom: {
    50: '#fda0e1',
    500: '#f873d4',
    950: '#000000',
  },
}
SCSS
$custom: #f873d4;
$custom-light: #fda0e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f873d4",
  "rgb": {
    "r": 248,
    "g": 115,
    "b": 212
  },
  "hsl": {
    "h": 316.241,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74312,
    "c": 0.19569,
    "h": 339
  },
  "luminance": 0.36971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F873D4

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

Preview Lab → · Contrast checker → · Palette generator →

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