#FF408C#FF408C

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

Color values

HEX#FF408C
RGBrgb(255, 64, 140)
HSLhsl(336, 100%, 63%)
HSVhsv(336, 75%, 100%)
CMYKcmyk(0%, 74.9%, 45.1%, 0%)
CIE-LABlab(58.81, 75.18, 2.62)
CIE-LCHlch(58.81, 75.22, 2.00°)
OKLaboklab(67.51% 0.2306 0.0076)
OKLCHoklch(67.51% 0.231 1.9)
XYZxyz(47.8109, 26.8266, 27.4663)
Luminance0.2682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF408C #40FFB3
analogous
#FF40EB #FF408C #FF5440
triadic
#FF408C #8CFF40 #408CFF
tetradic
#FF408C #EBFF40 #40FFB3 #5440FF
square
#FF408C #EBFF40 #40FFB3 #5440FF
split-complementary
#FF408C #40FF54 #40EBFF
monochromatic
#C5004E #FF0367 #FF408C #FF7DB1 #FFBAD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FF408C#FFFFFF#000000##000000
##FF408C1.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)
#6D768E
Deuteranopia (green-blind)
#A09B88
Tritanopia (blue-blind)
#FF1661
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ff408c;
/* rgb */ color: rgb(255, 64, 140);
/* oklch */ color: oklch(67.5% 0.231 1.9);
Tailwind
colors: {
  custom: {
    50: '#ff85ad',
    500: '#ff408c',
    950: '#000000',
  },
}
SCSS
$custom: #ff408c;
$custom-light: #ff85ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ff408c",
  "rgb": {
    "r": 255,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 336.126,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6751,
    "c": 0.23073,
    "h": 1.9
  },
  "luminance": 0.2682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF408C

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

Preview Lab → · Contrast checker → · Palette generator →

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