#FF408A#FF408A

#FF408A is a light, highly saturated pink. Relative luminance 0.268; OKLCH L 67.5% C 0.230 H 2.6°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#FF408A
RGBrgb(255, 64, 138)
HSLhsl(337, 100%, 63%)
HSVhsv(337, 75%, 100%)
CMYKcmyk(0%, 74.9%, 45.9%, 0%)
CIE-LABlab(58.76, 75.01, 3.72)
CIE-LCHlch(58.76, 75.10, 2.84°)
OKLaboklab(67.45% 0.23 0.0104)
OKLCHoklch(67.45% 0.23 2.6)
XYZxyz(47.6648, 26.7682, 26.6967)
Luminance0.2676 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF408A #40FFB5
analogous
#FF40E9 #FF408A #FF5640
triadic
#FF408A #8AFF40 #408AFF
tetradic
#FF408A #E9FF40 #40FFB5 #5640FF
square
#FF408A #E9FF40 #40FFB5 #5640FF
split-complementary
#FF408A #40FF56 #40E9FF
monochromatic
#C5004C #FF0365 #FF408A #FF7DAF #FFBAD5

Accessibility & contrast

On white

3.31
#FF408A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#FF408A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF408A
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF408A#FFFFFF#000000##000000
##FF408A1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D768C
Deuteranopia (green-blind)
#A09B86
Tritanopia (blue-blind)
#FF1460
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ff408a;
/* rgb */ color: rgb(255, 64, 138);
/* oklch */ color: oklch(67.5% 0.230 2.6);
Tailwind
colors: {
  custom: {
    50: '#ff85ab',
    500: '#ff408a',
    950: '#000000',
  },
}
SCSS
$custom: #ff408a;
$custom-light: #ff85ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ff408a",
  "rgb": {
    "r": 255,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 336.754,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67452,
    "c": 0.23019,
    "h": 2.6
  },
  "luminance": 0.26762
}

Semantic roles & 50–950 ramp

primary
#FF408A
secondary
#ABF0D5
accent
#E68D00
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#1A0C10
muted
#877D7F

Preview Lab

Preview with #FF408A

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

Preview Lab → · Contrast checker → · Palette generator →

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