#FF408F#FF408F

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

Color values

HEX#FF408F
RGBrgb(255, 64, 143)
HSLhsl(335, 100%, 63%)
HSVhsv(335, 75%, 100%)
CMYKcmyk(0%, 74.9%, 43.9%, 0%)
CIE-LABlab(58.90, 75.44, 0.98)
CIE-LCHlch(58.90, 75.44, 0.74°)
OKLaboklab(67.6% 0.2316 0.0034)
OKLCHoklch(67.6% 0.232 0.8)
XYZxyz(48.0351, 26.9163, 28.6472)
Luminance0.2691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF408F #40FFB0
analogous
#FF40EF #FF408F #FF5040
triadic
#FF408F #8FFF40 #408FFF
tetradic
#FF408F #EFFF40 #40FFB0 #5040FF
square
#FF408F #EFFF40 #40FFB0 #5040FF
split-complementary
#FF408F #40FF50 #40EFFF
monochromatic
#C50051 #FF036B #FF408F #FF7DB3 #FFBAD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FF408F#FFFFFF#000000##000000
##FF408F1.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)
#6C7691
Deuteranopia (green-blind)
#9F9B8B
Tritanopia (blue-blind)
#FF1963
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ff408f;
/* rgb */ color: rgb(255, 64, 143);
/* oklch */ color: oklch(67.6% 0.232 0.8);
Tailwind
colors: {
  custom: {
    50: '#ff85af',
    500: '#ff408f',
    950: '#000000',
  },
}
SCSS
$custom: #ff408f;
$custom-light: #ff85af;
$custom-dark: #000000;
JSON
{
  "hex": "#ff408f",
  "rgb": {
    "r": 255,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 335.183,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67598,
    "c": 0.2316,
    "h": 0.8
  },
  "luminance": 0.2691
}

Semantic roles & 50–950 ramp

primary
#FF408F
secondary
#ABF0D3
accent
#E68700
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#190C10
muted
#877D7F

Preview Lab

Preview with #FF408F

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

Preview Lab → · Contrast checker → · Palette generator →

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