#F04FD4#F04FD4

#F04FD4 is a light, highly saturated pink. Relative luminance 0.289; OKLCH L 69.2% C 0.240 H 335.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#F04FD4
RGBrgb(240, 79, 212)
HSLhsl(310, 84%, 63%)
HSVhsv(310, 67%, 94%)
CMYKcmyk(0%, 67.1%, 11.7%, 5.9%)
CIE-LABlab(60.67, 74.80, -36.37)
CIE-LCHlch(60.67, 83.17, 334.07°)
OKLaboklab(69.25% 0.2185 -0.0991)
OKLCHoklch(69.25% 0.24 335.6)
XYZxyz(50.6154, 28.8750, 65.1823)
Luminance0.2887 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04FD4 #4FF06B
analogous
#BC4FF0 #F04FD4 #F04F83
triadic
#F04FD4 #D4F04F #4FD4F0
tetradic
#F04FD4 #F0BC4F #4FF06B #4F83F0
square
#F04FD4 #F0BC4F #4FF06B #4F83F0
split-complementary
#F04FD4 #83F04F #4FF0BC
monochromatic
#B50F98 #EB17C6 #F04FD4 #F587E2 #FAC0F0

Accessibility & contrast

On white

3.10
#F04FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#F04FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04FD4
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04FD4#FFFFFF#000000##000000
##F04FD41.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5083D8
Deuteranopia (green-blind)
#869BD0
Tritanopia (blue-blind)
#FC5A8B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #f04fd4;
/* rgb */ color: rgb(240, 79, 212);
/* oklch */ color: oklch(69.2% 0.240 335.6);
Tailwind
colors: {
  custom: {
    50: '#f98ce1',
    500: '#f04fd4',
    950: '#000000',
  },
}
SCSS
$custom: #f04fd4;
$custom-light: #f98ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#f04fd4",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 310.435,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.69249,
    "c": 0.2399,
    "h": 335.6
  },
  "luminance": 0.28871
}

Semantic roles & 50–950 ramp

primary
#F04FD4
secondary
#B0EBBA
accent
#E12B05
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F04FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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