#FF40AC#FF40AC

#FF40AC is a light, highly saturated pink. Relative luminance 0.279; OKLCH L 68.6% C 0.243 H 351.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#FF40AC
RGBrgb(255, 64, 172)
HSLhsl(326, 100%, 63%)
HSVhsv(326, 75%, 100%)
CMYKcmyk(0%, 74.9%, 32.5%, 0%)
CIE-LABlab(59.81, 78.27, -14.59)
CIE-LCHlch(59.81, 79.62, 349.44°)
OKLaboklab(68.56% 0.2397 -0.0379)
OKLCHoklch(68.56% 0.243 351)
XYZxyz(50.5227, 27.9114, 41.7486)
Luminance0.2791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF40AC #40FF93
analogous
#F240FF #FF40AC #FF404D
triadic
#FF40AC #ACFF40 #40ACFF
tetradic
#FF40AC #FFF240 #40FF93 #404DFF
square
#FF40AC #FFF240 #40FF93 #404DFF
split-complementary
#FF40AC #4DFF40 #40FFF2
monochromatic
#C5006F #FF0391 #FF40AC #FF7DC7 #FFBAE1

Accessibility & contrast

On white

3.19
#FF40AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#FF40AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF40AC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF40AC#FFFFFF#000000##000000
##FF40AC1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#627AAF
Deuteranopia (green-blind)
#999CA8
Tritanopia (blue-blind)
#FF3171
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ff40ac;
/* rgb */ color: rgb(255, 64, 172);
/* oklch */ color: oklch(68.6% 0.243 351.0);
Tailwind
colors: {
  custom: {
    50: '#ff86c4',
    500: '#ff40ac',
    950: '#000000',
  },
}
SCSS
$custom: #ff40ac;
$custom-light: #ff86c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ff40ac",
  "rgb": {
    "r": 255,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 326.073,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68564,
    "c": 0.24268,
    "h": 351
  },
  "luminance": 0.27905
}

Semantic roles & 50–950 ramp

primary
#FF40AC
secondary
#ABF0C9
accent
#E66400
background
#FFF8FC
surface
#FFF0F8
border
#D7CBD1
text
#190D12
muted
#877D81

Preview Lab

Preview with #FF40AC

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

Preview Lab → · Contrast checker → · Palette generator →

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