#F04FD5#F04FD5

#F04FD5 is a light, highly saturated pink. Relative luminance 0.289; OKLCH L 69.3% C 0.241 H 335.3°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#F04FD5
RGBrgb(240, 79, 213)
HSLhsl(310, 84%, 63%)
HSVhsv(310, 67%, 94%)
CMYKcmyk(0%, 67.1%, 11.2%, 5.9%)
CIE-LABlab(60.72, 74.94, -36.86)
CIE-LCHlch(60.72, 83.52, 333.81°)
OKLaboklab(69.3% 0.2186 -0.1005)
OKLCHoklch(69.3% 0.241 335.3)
XYZxyz(50.7420, 28.9256, 65.8487)
Luminance0.2892 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04FD5 #4FF06A
analogous
#BA4FF0 #F04FD5 #F04F85
triadic
#F04FD5 #D5F04F #4FD5F0
tetradic
#F04FD5 #F0BA4F #4FF06A #4F85F0
square
#F04FD5 #F0BA4F #4FF06A #4F85F0
split-complementary
#F04FD5 #85F04F #4FF0BA
monochromatic
#B50F99 #EB17C8 #F04FD5 #F587E2 #FAC0F0

Accessibility & contrast

On white

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

On black

6.78
#F04FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04FD5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04FD5#FFFFFF#000000##000000
##F04FD51.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F83D9
Deuteranopia (green-blind)
#859BD1
Tritanopia (blue-blind)
#FC5A8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #f04fd5;
/* rgb */ color: rgb(240, 79, 213);
/* oklch */ color: oklch(69.3% 0.241 335.3);
Tailwind
colors: {
  custom: {
    50: '#f98ce2',
    500: '#f04fd5',
    950: '#000000',
  },
}
SCSS
$custom: #f04fd5;
$custom-light: #f98ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#f04fd5",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 310.062,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.69296,
    "c": 0.2406,
    "h": 335.3
  },
  "luminance": 0.28921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F04FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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