#FF408E#FF408E

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

Color values

HEX#FF408E
RGBrgb(255, 64, 142)
HSLhsl(335, 100%, 63%)
HSVhsv(335, 75%, 100%)
CMYKcmyk(0%, 74.9%, 44.3%, 0%)
CIE-LABlab(58.87, 75.35, 1.52)
CIE-LCHlch(58.87, 75.37, 1.16°)
OKLaboklab(67.57% 0.2313 0.0048)
OKLCHoklch(67.57% 0.231 1.2)
XYZxyz(47.9597, 26.8862, 28.2500)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF408E #40FFB1
analogous
#FF40EE #FF408E #FF5140
triadic
#FF408E #8EFF40 #408EFF
tetradic
#FF408E #EEFF40 #40FFB1 #5140FF
square
#FF408E #EEFF40 #40FFB1 #5140FF
split-complementary
#FF408E #40FF51 #40EEFF
monochromatic
#C50050 #FF036A #FF408E #FF7DB2 #FFBAD6

Accessibility & contrast

On white

3.29
#FF408E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#FF408E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF408E
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF408E#FFFFFF#000000##000000
##FF408E1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7690
Deuteranopia (green-blind)
#A09B8A
Tritanopia (blue-blind)
#FF1862
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ff408e;
/* rgb */ color: rgb(255, 64, 142);
/* oklch */ color: oklch(67.6% 0.231 1.2);
Tailwind
colors: {
  custom: {
    50: '#ff85ae',
    500: '#ff408e',
    950: '#000000',
  },
}
SCSS
$custom: #ff408e;
$custom-light: #ff85ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ff408e",
  "rgb": {
    "r": 255,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 335.497,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67568,
    "c": 0.23131,
    "h": 1.2
  },
  "luminance": 0.2688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF408E

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

Preview Lab → · Contrast checker → · Palette generator →

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