#F873D2#F873D2

#F873D2 is a light, vivid pink. Relative luminance 0.369; OKLCH L 74.2% C 0.194 H 339.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#F873D2
RGBrgb(248, 115, 210)
HSLhsl(317, 90%, 71%)
HSVhsv(317, 54%, 97%)
CMYKcmyk(0%, 53.6%, 15.3%, 2.7%)
CIE-LABlab(67.18, 61.80, -25.07)
CIE-LCHlch(67.18, 66.69, 337.92°)
OKLaboklab(74.23% 0.1823 -0.0673)
OKLCHoklch(74.23% 0.194 339.7)
XYZxyz(56.4758, 36.8755, 65.1035)
Luminance0.3687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F873D2 #73F899
analogous
#DB73F8 #F873D2 #F8738F
triadic
#F873D2 #D2F873 #73D2F8
tetradic
#F873D2 #F8DB73 #73F899 #738FF8
square
#F873D2 #F8DB73 #73F899 #738FF8
split-complementary
#F873D2 #8FF873 #73F8DB
monochromatic
#E50BA7 #F539BF #F873D2 #FBADE5 #FEE2F6

Accessibility & contrast

On white

2.51
#F873D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#F873D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F873D2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F873D2#FFFFFF#000000##000000
##F873D21.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7996D5
Deuteranopia (green-blind)
#9FABCF
Tritanopia (blue-blind)
#FF7699
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f873d2;
/* rgb */ color: rgb(248, 115, 210);
/* oklch */ color: oklch(74.2% 0.194 339.7);
Tailwind
colors: {
  custom: {
    50: '#fda0e0',
    500: '#f873d2',
    950: '#000000',
  },
}
SCSS
$custom: #f873d2;
$custom-light: #fda0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f873d2",
  "rgb": {
    "r": 248,
    "g": 115,
    "b": 210
  },
  "hsl": {
    "h": 317.143,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74231,
    "c": 0.19429,
    "h": 339.7
  },
  "luminance": 0.36871
}

Semantic roles & 50–950 ramp

primary
#F873D2
secondary
#D2F5DC
accent
#E64200
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F873D2

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

Preview Lab → · Contrast checker → · Palette generator →

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