#FF40DA#FF40DA

#FF40DA is a light, highly saturated pink. Relative luminance 0.300; OKLCH L 70.5% C 0.268 H 337.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#FF40DA
RGBrgb(255, 64, 218)
HSLhsl(312, 100%, 63%)
HSVhsv(312, 75%, 100%)
CMYKcmyk(0%, 74.9%, 14.5%, 0%)
CIE-LABlab(61.65, 83.80, -38.05)
CIE-LCHlch(61.65, 92.03, 335.58°)
OKLaboklab(70.5% 0.2474 -0.1035)
OKLCHoklch(70.5% 0.268 337.3)
XYZxyz(55.7294, 29.9940, 69.1705)
Luminance0.2999 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF40DA #40FF65
analogous
#C440FF #FF40DA #FF407B
triadic
#FF40DA #DAFF40 #40DAFF
tetradic
#FF40DA #FFC440 #40FF65 #407BFF
square
#FF40DA #FFC440 #40FF65 #407BFF
split-complementary
#FF40DA #7BFF40 #40FFC4
monochromatic
#C5009F #FF03CE #FF40DA #FF7DE6 #FFBAF2

Accessibility & contrast

On white

3.00
#FF40DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#FF40DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF40DA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF40DA#FFFFFF#000000##000000
##FF40DA1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4782DE
Deuteranopia (green-blind)
#899FD6
Tritanopia (blue-blind)
#FF4C8A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ff40da;
/* rgb */ color: rgb(255, 64, 218);
/* oklch */ color: oklch(70.5% 0.268 337.3);
Tailwind
colors: {
  custom: {
    50: '#ff88e6',
    500: '#ff40da',
    950: '#000000',
  },
}
SCSS
$custom: #ff40da;
$custom-light: #ff88e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff40da",
  "rgb": {
    "r": 255,
    "g": 64,
    "b": 218
  },
  "hsl": {
    "h": 311.623,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.70498,
    "c": 0.26814,
    "h": 337.3
  },
  "luminance": 0.29989
}

Semantic roles & 50–950 ramp

primary
#FF40DA
secondary
#ABF0B8
accent
#E62C00
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#190D16
muted
#877E84

Preview Lab

Preview with #FF40DA

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

Preview Lab → · Contrast checker → · Palette generator →

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