#FF408D#FF408D

#FF408D is a light, highly saturated pink. Relative luminance 0.269; OKLCH L 67.5% C 0.231 H 1.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#FF408D
RGBrgb(255, 64, 141)
HSLhsl(336, 100%, 63%)
HSVhsv(336, 75%, 100%)
CMYKcmyk(0%, 74.9%, 44.7%, 0%)
CIE-LABlab(58.84, 75.26, 2.07)
CIE-LCHlch(58.84, 75.29, 1.58°)
OKLaboklab(67.54% 0.2309 0.0062)
OKLCHoklch(67.54% 0.231 1.5)
XYZxyz(47.8850, 26.8563, 27.8564)
Luminance0.2685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF408D #40FFB2
analogous
#FF40EC #FF408D #FF5340
triadic
#FF408D #8DFF40 #408DFF
tetradic
#FF408D #ECFF40 #40FFB2 #5340FF
square
#FF408D #ECFF40 #40FFB2 #5340FF
split-complementary
#FF408D #40FF53 #40ECFF
monochromatic
#C5004F #FF0368 #FF408D #FF7DB2 #FFBAD6

Accessibility & contrast

On white

3.30
#FF408D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#FF408D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF408D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF408D#FFFFFF#000000##000000
##FF408D1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D768F
Deuteranopia (green-blind)
#A09B89
Tritanopia (blue-blind)
#FF1762
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ff408d;
/* rgb */ color: rgb(255, 64, 141);
/* oklch */ color: oklch(67.5% 0.231 1.5);
Tailwind
colors: {
  custom: {
    50: '#ff85ae',
    500: '#ff408d',
    950: '#000000',
  },
}
SCSS
$custom: #ff408d;
$custom-light: #ff85ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ff408d",
  "rgb": {
    "r": 255,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 335.812,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67539,
    "c": 0.23101,
    "h": 1.5
  },
  "luminance": 0.2685
}

Semantic roles & 50–950 ramp

primary
#FF408D
secondary
#ABF0D4
accent
#E68900
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#1A0C10
muted
#877D7F

Preview Lab

Preview with #FF408D

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

Preview Lab → · Contrast checker → · Palette generator →

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