#F074DB#F074DB

#F074DB is a light, vivid pink. Relative luminance 0.361; OKLCH L 73.7% C 0.194 H 334.2°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#F074DB
RGBrgb(240, 116, 219)
HSLhsl(310, 81%, 70%)
HSVhsv(310, 52%, 94%)
CMYKcmyk(0%, 51.7%, 8.8%, 5.9%)
CIE-LABlab(66.62, 60.44, -31.05)
CIE-LCHlch(66.62, 67.95, 332.81°)
OKLaboklab(73.71% 0.1743 -0.0842)
OKLCHoklch(73.71% 0.194 334.2)
XYZxyz(54.9668, 36.1343, 71.0836)
Luminance0.3613 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074DB #74F089
analogous
#C774F0 #F074DB #F0749D
triadic
#F074DB #DBF074 #74DBF0
tetradic
#F074DB #F0C774 #74F089 #749DF0
square
#F074DB #F0C774 #74F089 #749DF0
split-complementary
#F074DB #9DF074 #74F0C7
monochromatic
#D317B3 #EA3DCD #F074DB #F6ABE9 #FCE2F8

Accessibility & contrast

On white

2.55
#F074DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#F074DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074DB
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074DB#FFFFFF#000000##000000
##F074DB1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DE
Deuteranopia (green-blind)
#97A9D8
Tritanopia (blue-blind)
#FA7B9E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f074db;
/* rgb */ color: rgb(240, 116, 219);
/* oklch */ color: oklch(73.7% 0.194 334.2);
Tailwind
colors: {
  custom: {
    50: '#f7a1e6',
    500: '#f074db',
    950: '#000000',
  },
}
SCSS
$custom: #f074db;
$custom-light: #f7a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f074db",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 310.161,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73709,
    "c": 0.19363,
    "h": 334.2
  },
  "luminance": 0.36131
}

Semantic roles & 50–950 ramp

primary
#F074DB
secondary
#CEF1D4
accent
#DD2D09
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F074DB

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

Preview Lab → · Contrast checker → · Palette generator →

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