#F874DC#F874DC

#F874DC is a light, vivid pink. Relative luminance 0.376; OKLCH L 74.8% C 0.200 H 336.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#F874DC
RGBrgb(248, 116, 220)
HSLhsl(313, 90%, 71%)
HSVhsv(313, 53%, 97%)
CMYKcmyk(0%, 53.2%, 11.3%, 2.7%)
CIE-LABlab(67.74, 62.85, -29.79)
CIE-LCHlch(67.74, 69.56, 334.64°)
OKLaboklab(74.77% 0.183 -0.0806)
OKLCHoklch(74.77% 0.2 336.2)
XYZxyz(57.8755, 37.6188, 71.9091)
Luminance0.3761 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F874DC #74F890
analogous
#D274F8 #F874DC #F8749A
triadic
#F874DC #DCF874 #74DCF8
tetradic
#F874DC #F8D274 #74F890 #749AF8
square
#F874DC #F8D274 #74F890 #749AF8
split-complementary
#F874DC #9AF874 #74F8D2
monochromatic
#E60CB8 #F53ACD #F874DC #FBAEEB #FEE2F8

Accessibility & contrast

On white

2.46
#F874DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#F874DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F874DC
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F874DC#FFFFFF#000000##000000
##F874DC1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DF
Deuteranopia (green-blind)
#9CACD8
Tritanopia (blue-blind)
#FF7A9E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f874dc;
/* rgb */ color: rgb(248, 116, 220);
/* oklch */ color: oklch(74.8% 0.200 336.2);
Tailwind
colors: {
  custom: {
    50: '#fda1e7',
    500: '#f874dc',
    950: '#000000',
  },
}
SCSS
$custom: #f874dc;
$custom-light: #fda1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f874dc",
  "rgb": {
    "r": 248,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 312.727,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74768,
    "c": 0.19995,
    "h": 336.2
  },
  "luminance": 0.37615
}

Semantic roles & 50–950 ramp

primary
#F874DC
secondary
#D3F5DA
accent
#E63100
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F874DC

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

Preview Lab → · Contrast checker → · Palette generator →

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