#FF407B#FF407B

#FF407B is a light, highly saturated pink. Relative luminance 0.264; OKLCH L 67.0% C 0.227 H 7.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#FF407B
RGBrgb(255, 64, 123)
HSLhsl(341, 100%, 63%)
HSVhsv(341, 75%, 100%)
CMYKcmyk(0%, 74.9%, 51.8%, 0%)
CIE-LABlab(58.38, 73.81, 12.02)
CIE-LCHlch(58.38, 74.78, 9.25°)
OKLaboklab(67.05% 0.2248 0.0309)
OKLCHoklch(67.05% 0.227 7.8)
XYZxyz(46.6528, 26.3634, 21.3671)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF407B #40FFC4
analogous
#FF40DA #FF407B #FF6540
triadic
#FF407B #7BFF40 #407BFF
tetradic
#FF407B #DAFF40 #40FFC4 #6540FF
square
#FF407B #DAFF40 #40FFC4 #6540FF
split-complementary
#FF407B #40FF65 #40DAFF
monochromatic
#C5003D #FF0351 #FF407B #FF7DA5 #FFBAD0

Accessibility & contrast

On white

3.35
#FF407B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#FF407B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF407B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF407B#FFFFFF#000000##000000
##FF407B1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71747C
Deuteranopia (green-blind)
#A39A76
Tritanopia (blue-blind)
#FF0059
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ff407b;
/* rgb */ color: rgb(255, 64, 123);
/* oklch */ color: oklch(67.0% 0.227 7.8);
Tailwind
colors: {
  custom: {
    50: '#ff85a0',
    500: '#ff407b',
    950: '#000000',
  },
}
SCSS
$custom: #ff407b;
$custom-light: #ff85a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ff407b",
  "rgb": {
    "r": 255,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 341.466,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67049,
    "c": 0.22692,
    "h": 7.8
  },
  "luminance": 0.26357
}

Semantic roles & 50–950 ramp

primary
#FF407B
secondary
#ABF0DB
accent
#E69F00
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#1A0C0E
muted
#877D7E

Preview Lab

Preview with #FF407B

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

Preview Lab → · Contrast checker → · Palette generator →

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