#FF40BF#FF40BF

#FF40BF is a light, highly saturated pink. Relative luminance 0.287; OKLCH L 69.3% C 0.252 H 345.0°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#FF40BF
RGBrgb(255, 64, 191)
HSLhsl(320, 100%, 63%)
HSVhsv(320, 75%, 100%)
CMYKcmyk(0%, 74.9%, 25.1%, 0%)
CIE-LABlab(60.51, 80.40, -24.47)
CIE-LCHlch(60.51, 84.05, 343.07°)
OKLaboklab(69.3% 0.2437 -0.0651)
OKLCHoklch(69.3% 0.252 345)
XYZxyz(52.4796, 28.6941, 52.0549)
Luminance0.2869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF40BF #40FF80
analogous
#E040FF #FF40BF #FF405F
triadic
#FF40BF #BFFF40 #40BFFF
tetradic
#FF40BF #FFE040 #40FF80 #405FFF
square
#FF40BF #FFE040 #40FF80 #405FFF
split-complementary
#FF40BF #5FFF40 #40FFE0
monochromatic
#C50083 #FF03AA #FF40BF #FF7DD4 #FFBAE8

Accessibility & contrast

On white

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

On black

6.74
#FF40BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF40BF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF40BF#FFFFFF#000000##000000
##FF40BF1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#939DBB
Tritanopia (blue-blind)
#FF3D7B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ff40bf;
/* rgb */ color: rgb(255, 64, 191);
/* oklch */ color: oklch(69.3% 0.252 345.0);
Tailwind
colors: {
  custom: {
    50: '#ff87d2',
    500: '#ff40bf',
    950: '#000000',
  },
}
SCSS
$custom: #ff40bf;
$custom-light: #ff87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff40bf",
  "rgb": {
    "r": 255,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 320.105,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.69304,
    "c": 0.25225,
    "h": 345
  },
  "luminance": 0.28688
}

Semantic roles & 50–950 ramp

primary
#FF40BF
secondary
#ABF0C2
accent
#E64D00
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#190D14
muted
#877D82

Preview Lab

Preview with #FF40BF

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

Preview Lab → · Contrast checker → · Palette generator →

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