#F04DDA#F04DDA

#F04DDA is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 69.4% C 0.246 H 333.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#F04DDA
RGBrgb(240, 77, 218)
HSLhsl(308, 84%, 62%)
HSVhsv(308, 68%, 94%)
CMYKcmyk(0%, 67.9%, 9.2%, 5.9%)
CIE-LABlab(60.69, 76.38, -39.72)
CIE-LCHlch(60.69, 86.09, 332.52°)
OKLaboklab(69.35% 0.2212 -0.1087)
OKLCHoklch(69.35% 0.246 333.8)
XYZxyz(51.2443, 28.8992, 69.1953)
Luminance0.2889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04DDA #4DF063
analogous
#B44DF0 #F04DDA #F04D89
triadic
#F04DDA #DAF04D #4DDAF0
tetradic
#F04DDA #F0B44D #4DF063 #4D89F0
square
#F04DDA #F0B44D #4DF063 #4D89F0
split-complementary
#F04DDA #89F04D #4DF0B4
monochromatic
#B30F9D #EB15CE #F04DDA #F585E6 #FABEF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F04DDA#FFFFFF#000000##000000
##F04DDA1.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)
#4983DE
Deuteranopia (green-blind)
#829BD6
Tritanopia (blue-blind)
#FB5B8E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #f04dda;
/* rgb */ color: rgb(240, 77, 218);
/* oklch */ color: oklch(69.4% 0.246 333.8);
Tailwind
colors: {
  custom: {
    50: '#f98be6',
    500: '#f04dda',
    950: '#000000',
  },
}
SCSS
$custom: #f04dda;
$custom-light: #f98be6;
$custom-dark: #000000;
JSON
{
  "hex": "#f04dda",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 218
  },
  "hsl": {
    "h": 308.098,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.69353,
    "c": 0.24643,
    "h": 333.8
  },
  "luminance": 0.28895
}

Semantic roles & 50–950 ramp

primary
#F04DDA
secondary
#AEEAB7
accent
#E12205
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F04DDA

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

Preview Lab → · Contrast checker → · Palette generator →

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