#FF40CB#FF40CB

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

Color values

HEX#FF40CB
RGBrgb(255, 64, 203)
HSLhsl(316, 100%, 63%)
HSVhsv(316, 75%, 100%)
CMYKcmyk(0%, 74.9%, 20.4%, 0%)
CIE-LABlab(61.00, 81.86, -30.57)
CIE-LCHlch(61.00, 87.39, 339.52°)
OKLaboklab(69.82% 0.2456 -0.0823)
OKLCHoklch(69.82% 0.259 341.5)
XYZxyz(53.8547, 29.2441, 59.2968)
Luminance0.2924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF40CB #40FF74
analogous
#D340FF #FF40CB #FF406C
triadic
#FF40CB #CBFF40 #40CBFF
tetradic
#FF40CB #FFD340 #40FF74 #406CFF
square
#FF40CB #FFD340 #40FF74 #406CFF
split-complementary
#FF40CB #6CFF40 #40FFD3
monochromatic
#C5008F #FF03BA #FF40CB #FF7DDC #FFBAEC

Accessibility & contrast

On white

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

On black

6.85
#FF40CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF40CB
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF40CB#FFFFFF#000000##000000
##FF40CB1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#8F9EC7
Tritanopia (blue-blind)
#FF4482
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ff40cb;
/* rgb */ color: rgb(255, 64, 203);
/* oklch */ color: oklch(69.8% 0.259 341.5);
Tailwind
colors: {
  custom: {
    50: '#ff87db',
    500: '#ff40cb',
    950: '#000000',
  },
}
SCSS
$custom: #ff40cb;
$custom-light: #ff87db;
$custom-dark: #000000;
JSON
{
  "hex": "#ff40cb",
  "rgb": {
    "r": 255,
    "g": 64,
    "b": 203
  },
  "hsl": {
    "h": 316.335,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.69815,
    "c": 0.25903,
    "h": 341.5
  },
  "luminance": 0.29239
}

Semantic roles & 50–950 ramp

primary
#FF40CB
secondary
#ABF0BE
accent
#E63E00
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#190D15
muted
#877E83

Preview Lab

Preview with #FF40CB

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

Preview Lab → · Contrast checker → · Palette generator →

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