#F875DC#F875DC

#F875DC is a light, vivid pink. Relative luminance 0.378; OKLCH L 74.9% C 0.198 H 336.3°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#F875DC
RGBrgb(248, 117, 220)
HSLhsl(313, 90%, 72%)
HSVhsv(313, 53%, 97%)
CMYKcmyk(0%, 52.8%, 11.3%, 2.7%)
CIE-LABlab(67.91, 62.40, -29.53)
CIE-LCHlch(67.91, 69.03, 334.67°)
OKLaboklab(74.9% 0.1817 -0.0798)
OKLCHoklch(74.9% 0.198 336.3)
XYZxyz(57.9914, 37.8505, 71.9478)
Luminance0.3785 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F875DC #75F891
analogous
#D275F8 #F875DC #F8759B
triadic
#F875DC #DCF875 #75DCF8
tetradic
#F875DC #F8D275 #75F891 #759BF8
square
#F875DC #F8D275 #75F891 #759BF8
split-complementary
#F875DC #9BF875 #75F8D2
monochromatic
#E70CB8 #F53BCD #F875DC #FBAFEB #FEE2F8

Accessibility & contrast

On white

2.45
#F875DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#F875DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F875DC
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F875DC#FFFFFF#000000##000000
##F875DC1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#9CADD8
Tritanopia (blue-blind)
#FF7B9F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f875dc;
/* rgb */ color: rgb(248, 117, 220);
/* oklch */ color: oklch(74.9% 0.198 336.3);
Tailwind
colors: {
  custom: {
    50: '#fda2e7',
    500: '#f875dc',
    950: '#000000',
  },
}
SCSS
$custom: #f875dc;
$custom-light: #fda2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f875dc",
  "rgb": {
    "r": 248,
    "g": 117,
    "b": 220
  },
  "hsl": {
    "h": 312.824,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74895,
    "c": 0.19842,
    "h": 336.3
  },
  "luminance": 0.37846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F875DC

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

Preview Lab → · Contrast checker → · Palette generator →

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