#FF407F

A color in the Red, Pink family

#ff407f is a color in the Red, Pink family: RGB(255, 64, 127), HSL(340°, 100%, 63%), CMYK(0%, 75%, 50%, 0%). Closest named color: deeppink. Contrast is 3.34:1 on white and 6.29:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ff407f
RGBrgb(255 64 127)
RGB (legacy)rgb(255, 64, 127)
RGB %rgb(100% 25% 50%)
HSLhsl(340 100% 63%)
HSV / HSBhsv(340, 75%, 100%)
HWBhwb(340 25% 0%)
CMYKcmyk(0%, 75%, 50%, 0%)
CIELAB (D50)lab(59.17 73.95 11.37)
LCHlch(59.17 74.82 8.74)
OKLaboklab(0.6715 0.2262 0.0255)
OKLCHoklch(0.6715 0.2276 6.43)
Decimal16728191

Properties

Color ToneRed, Pink
Closest named colordeeppink ΔE 5.5
Closest web-safe color#ff3366
Hue340°
Saturation (HSL / HSV)100% / 75%
Lightness (HSL)63%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)50% / 43%
Relative luminance (WCAG)0.2646
Red / Green / Blue255 / 64 / 127

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.34:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.29:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 59.3 / -42.4 · As background with white / black text: Lc -64.7 / 44.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #ff407f;
  --color-brand-oklch: oklch(67.15% 0.2276 6.43);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(255 64 127 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ff407f] text-[#ff407f] border-[#ff407f]">