#FF408D#FF408D
#FF408D is a light, highly saturated pink. Relative luminance 0.269; OKLCH L 67.5% C 0.231 H 1.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #FF408D |
|---|---|
| RGB | rgb(255, 64, 141) |
| HSL | hsl(336, 100%, 63%) |
| HSV | hsv(336, 75%, 100%) |
| CMYK | cmyk(0%, 74.9%, 44.7%, 0%) |
| CIE-LAB | lab(58.84, 75.26, 2.07) |
| CIE-LCH | lch(58.84, 75.29, 1.58°) |
| OKLab | oklab(67.54% 0.2309 0.0062) |
| OKLCH | oklch(67.54% 0.231 1.5) |
| XYZ | xyz(47.8850, 26.8563, 27.8564) |
| Luminance | 0.2685 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Strawberry
#FC5A8D
ΔE00 3.86
Strong Pink
#FF0789
ΔE00 4.00
Rose
#FF007F
ΔE00 4.27
Medium Pink
#F36196
ΔE00 4.33
Hot Pink (survey)
#FF028D
ΔE00 4.38
Deeppink
#FF1493
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FF408D #40FFB2
analogous
#FF40EC #FF408D #FF5340
triadic
#FF408D #8DFF40 #408DFF
tetradic
#FF408D #ECFF40 #40FFB2 #5340FF
square
#FF408D #ECFF40 #40FFB2 #5340FF
split-complementary
#FF408D #40FF53 #40ECFF
monochromatic
#C5004F #FF0368 #FF408D #FF7DB2 #FFBAD6
Accessibility & contrast
On white
3.30
#FF408D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#FF408D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #FF408D
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FF408D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FF408D | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D768F
Deuteranopia (green-blind)
#A09B89
Tritanopia (blue-blind)
#FF1762
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #ff408d; /* rgb */ color: rgb(255, 64, 141); /* oklch */ color: oklch(67.5% 0.231 1.5);
Tailwind
colors: {
custom: {
50: '#ff85ae',
500: '#ff408d',
950: '#000000',
},
}SCSS
$custom: #ff408d; $custom-light: #ff85ae; $custom-dark: #000000;
JSON
{
"hex": "#ff408d",
"rgb": {
"r": 255,
"g": 64,
"b": 141
},
"hsl": {
"h": 335.812,
"s": 100,
"l": 62.549
},
"oklch": {
"l": 0.67539,
"c": 0.23101,
"h": 1.5
},
"luminance": 0.2685
}Semantic roles & 50–950 ramp
primary
#FF408D
secondary
#ABF0D4
accent
#E68900
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#1A0C10
muted
#877D7F