#F874DB#F874DB

#F874DB is a light, vivid pink. Relative luminance 0.376; OKLCH L 74.7% C 0.199 H 336.6°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#F874DB
RGBrgb(248, 116, 219)
HSLhsl(313, 90%, 71%)
HSVhsv(313, 53%, 97%)
CMYKcmyk(0%, 53.2%, 11.7%, 2.7%)
CIE-LABlab(67.70, 62.70, -29.30)
CIE-LCHlch(67.70, 69.21, 334.96°)
OKLaboklab(74.73% 0.1828 -0.0792)
OKLCHoklch(74.73% 0.199 336.6)
XYZxyz(57.7434, 37.5660, 71.2137)
Luminance0.3756 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F874DB #74F891
analogous
#D374F8 #F874DB #F87499
triadic
#F874DB #DBF874 #74DBF8
tetradic
#F874DB #F8D374 #74F891 #7499F8
square
#F874DB #F8D374 #74F891 #7499F8
split-complementary
#F874DB #99F874 #74F8D3
monochromatic
#E60CB6 #F53ACC #F874DB #FBAEEA #FEE2F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F874DB#FFFFFF#000000##000000
##F874DB1.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)
#7698DE
Deuteranopia (green-blind)
#9CACD7
Tritanopia (blue-blind)
#FF7A9E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f874db;
/* rgb */ color: rgb(248, 116, 219);
/* oklch */ color: oklch(74.7% 0.199 336.6);
Tailwind
colors: {
  custom: {
    50: '#fda1e6',
    500: '#f874db',
    950: '#000000',
  },
}
SCSS
$custom: #f874db;
$custom-light: #fda1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f874db",
  "rgb": {
    "r": 248,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 313.182,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74726,
    "c": 0.19921,
    "h": 336.6
  },
  "luminance": 0.37562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F874DB

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

Preview Lab → · Contrast checker → · Palette generator →

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