#FF408B#FF408B

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

Color values

HEX#FF408B
RGBrgb(255, 64, 139)
HSLhsl(336, 100%, 63%)
HSVhsv(336, 75%, 100%)
CMYKcmyk(0%, 74.9%, 45.5%, 0%)
CIE-LABlab(58.79, 75.09, 3.17)
CIE-LCHlch(58.79, 75.16, 2.42°)
OKLaboklab(67.48% 0.2303 0.009)
OKLCHoklch(67.48% 0.23 2.2)
XYZxyz(47.7375, 26.7973, 27.0797)
Luminance0.2679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF408B #40FFB4
analogous
#FF40EA #FF408B #FF5540
triadic
#FF408B #8BFF40 #408BFF
tetradic
#FF408B #EAFF40 #40FFB4 #5540FF
square
#FF408B #EAFF40 #40FFB4 #5540FF
split-complementary
#FF408B #40FF55 #40EAFF
monochromatic
#C5004D #FF0366 #FF408B #FF7DB0 #FFBAD5

Accessibility & contrast

On white

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

On black

6.36
#FF408B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF408B
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF408B#FFFFFF#000000##000000
##FF408B1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D768D
Deuteranopia (green-blind)
#A09B87
Tritanopia (blue-blind)
#FF1561
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ff408b;
/* rgb */ color: rgb(255, 64, 139);
/* oklch */ color: oklch(67.5% 0.230 2.2);
Tailwind
colors: {
  custom: {
    50: '#ff85ac',
    500: '#ff408b',
    950: '#000000',
  },
}
SCSS
$custom: #ff408b;
$custom-light: #ff85ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ff408b",
  "rgb": {
    "r": 255,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 336.44,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67481,
    "c": 0.23045,
    "h": 2.2
  },
  "luminance": 0.26791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF408B

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

Preview Lab → · Contrast checker → · Palette generator →

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