#FF40BD#FF40BD

#FF40BD is a light, highly saturated pink. Relative luminance 0.286; OKLCH L 69.2% C 0.251 H 345.6°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#FF40BD
RGBrgb(255, 64, 189)
HSLhsl(321, 100%, 63%)
HSVhsv(321, 75%, 100%)
CMYKcmyk(0%, 74.9%, 25.9%, 0%)
CIE-LABlab(60.43, 80.17, -23.44)
CIE-LCHlch(60.43, 83.53, 343.70°)
OKLaboklab(69.22% 0.2433 -0.0623)
OKLCHoklch(69.22% 0.251 345.6)
XYZxyz(52.2610, 28.6067, 50.9037)
Luminance0.2860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF40BD #40FF82
analogous
#E240FF #FF40BD #FF405D
triadic
#FF40BD #BDFF40 #40BDFF
tetradic
#FF40BD #FFE240 #40FF82 #405DFF
square
#FF40BD #FFE240 #40FF82 #405DFF
split-complementary
#FF40BD #5DFF40 #40FFE2
monochromatic
#C50081 #FF03A8 #FF40BD #FF7DD2 #FFBAE7

Accessibility & contrast

On white

3.12
#FF40BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#FF40BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF40BD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF40BD#FFFFFF#000000##000000
##FF40BD1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DC0
Deuteranopia (green-blind)
#949DB9
Tritanopia (blue-blind)
#FF3B7A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ff40bd;
/* rgb */ color: rgb(255, 64, 189);
/* oklch */ color: oklch(69.2% 0.251 345.6);
Tailwind
colors: {
  custom: {
    50: '#ff87d1',
    500: '#ff40bd',
    950: '#000000',
  },
}
SCSS
$custom: #ff40bd;
$custom-light: #ff87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ff40bd",
  "rgb": {
    "r": 255,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 320.733,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.69222,
    "c": 0.25117,
    "h": 345.6
  },
  "luminance": 0.28601
}

Semantic roles & 50–950 ramp

primary
#FF40BD
secondary
#ABF0C3
accent
#E64F00
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#190D14
muted
#877D82

Preview Lab

Preview with #FF40BD

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

Preview Lab → · Contrast checker → · Palette generator →

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