#FF40CA#FF40CA

#FF40CA is a light, highly saturated pink. Relative luminance 0.292; OKLCH L 69.8% C 0.258 H 341.8°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#FF40CA
RGBrgb(255, 64, 202)
HSLhsl(317, 100%, 63%)
HSVhsv(317, 75%, 100%)
CMYKcmyk(0%, 74.9%, 20.8%, 0%)
CIE-LABlab(60.95, 81.74, -30.07)
CIE-LCHlch(60.95, 87.09, 339.80°)
OKLaboklab(69.77% 0.2455 -0.0808)
OKLCHoklch(69.77% 0.258 341.8)
XYZxyz(53.7359, 29.1966, 58.6712)
Luminance0.2919 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF40CA #40FF75
analogous
#D440FF #FF40CA #FF406B
triadic
#FF40CA #CAFF40 #40CAFF
tetradic
#FF40CA #FFD440 #40FF75 #406BFF
square
#FF40CA #FFD440 #40FF75 #406BFF
split-complementary
#FF40CA #6BFF40 #40FFD4
monochromatic
#C5008E #FF03B9 #FF40CA #FF7DDB #FFBAEC

Accessibility & contrast

On white

3.07
#FF40CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#FF40CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF40CA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF40CA#FFFFFF#000000##000000
##FF40CA1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCE
Deuteranopia (green-blind)
#909EC6
Tritanopia (blue-blind)
#FF4381
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ff40ca;
/* rgb */ color: rgb(255, 64, 202);
/* oklch */ color: oklch(69.8% 0.258 341.8);
Tailwind
colors: {
  custom: {
    50: '#ff87da',
    500: '#ff40ca',
    950: '#000000',
  },
}
SCSS
$custom: #ff40ca;
$custom-light: #ff87da;
$custom-dark: #000000;
JSON
{
  "hex": "#ff40ca",
  "rgb": {
    "r": 255,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 316.649,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.69771,
    "c": 0.25844,
    "h": 341.8
  },
  "luminance": 0.29191
}

Semantic roles & 50–950 ramp

primary
#FF40CA
secondary
#ABF0BE
accent
#E64000
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#190D15
muted
#877E83

Preview Lab

Preview with #FF40CA

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

Preview Lab → · Contrast checker → · Palette generator →

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