#F873DF#F873DF

#F873DF is a light, highly saturated pink. Relative luminance 0.375; OKLCH L 74.8% C 0.204 H 335.2°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#F873DF
RGBrgb(248, 115, 223)
HSLhsl(311, 90%, 71%)
HSVhsv(311, 54%, 97%)
CMYKcmyk(0%, 53.6%, 10.1%, 2.7%)
CIE-LABlab(67.69, 63.77, -31.54)
CIE-LCHlch(67.69, 71.14, 333.68°)
OKLaboklab(74.77% 0.1849 -0.0855)
OKLCHoklch(74.77% 0.204 335.2)
XYZxyz(58.1617, 37.5498, 73.9822)
Luminance0.3755 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F873DF #73F88C
analogous
#CE73F8 #F873DF #F8739C
triadic
#F873DF #DFF873 #73DFF8
tetradic
#F873DF #F8CE73 #73F88C #739CF8
square
#F873DF #F8CE73 #73F88C #739CF8
split-complementary
#F873DF #9CF873 #73F8CE
monochromatic
#E50BBC #F539D2 #F873DF #FBADEC #FEE2F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F873DF#FFFFFF#000000##000000
##F873DF1.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)
#7398E3
Deuteranopia (green-blind)
#9AACDB
Tritanopia (blue-blind)
#FF7A9F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f873df;
/* rgb */ color: rgb(248, 115, 223);
/* oklch */ color: oklch(74.8% 0.204 335.2);
Tailwind
colors: {
  custom: {
    50: '#fda1e9',
    500: '#f873df',
    950: '#000000',
  },
}
SCSS
$custom: #f873df;
$custom-light: #fda1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f873df",
  "rgb": {
    "r": 248,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 311.278,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74769,
    "c": 0.20371,
    "h": 335.2
  },
  "luminance": 0.37546
}

Semantic roles & 50–950 ramp

primary
#F873DF
secondary
#D2F5D8
accent
#E62B00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F873DF

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

Preview Lab → · Contrast checker → · Palette generator →

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