#FF408A#FF408A
#FF408A is a light, highly saturated pink. Relative luminance 0.268; OKLCH L 67.5% C 0.230 H 2.6°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #FF408A |
|---|---|
| RGB | rgb(255, 64, 138) |
| HSL | hsl(337, 100%, 63%) |
| HSV | hsv(337, 75%, 100%) |
| CMYK | cmyk(0%, 74.9%, 45.9%, 0%) |
| CIE-LAB | lab(58.76, 75.01, 3.72) |
| CIE-LCH | lch(58.76, 75.10, 2.84°) |
| OKLab | oklab(67.45% 0.23 0.0104) |
| OKLCH | oklch(67.45% 0.23 2.6) |
| XYZ | xyz(47.6648, 26.7682, 26.6967) |
| Luminance | 0.2676 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Strawberry
#FC5A8D
ΔE00 3.60
Rose
#FF007F
ΔE00 4.14
Strong Pink
#FF0789
ΔE00 4.21
Warm Pink
#FB5581
ΔE00 4.44
Medium Pink
#F36196
ΔE00 4.47
Hot Pink (survey)
#FF028D
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FF408A #40FFB5
analogous
#FF40E9 #FF408A #FF5640
triadic
#FF408A #8AFF40 #408AFF
tetradic
#FF408A #E9FF40 #40FFB5 #5640FF
square
#FF408A #E9FF40 #40FFB5 #5640FF
split-complementary
#FF408A #40FF56 #40E9FF
monochromatic
#C5004C #FF0365 #FF408A #FF7DAF #FFBAD5
Accessibility & contrast
On white
3.31
#FF408A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#FF408A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #FF408A
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FF408A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FF408A | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D768C
Deuteranopia (green-blind)
#A09B86
Tritanopia (blue-blind)
#FF1460
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #ff408a; /* rgb */ color: rgb(255, 64, 138); /* oklch */ color: oklch(67.5% 0.230 2.6);
Tailwind
colors: {
custom: {
50: '#ff85ab',
500: '#ff408a',
950: '#000000',
},
}SCSS
$custom: #ff408a; $custom-light: #ff85ab; $custom-dark: #000000;
JSON
{
"hex": "#ff408a",
"rgb": {
"r": 255,
"g": 64,
"b": 138
},
"hsl": {
"h": 336.754,
"s": 100,
"l": 62.549
},
"oklch": {
"l": 0.67452,
"c": 0.23019,
"h": 2.6
},
"luminance": 0.26762
}Semantic roles & 50–950 ramp
primary
#FF408A
secondary
#ABF0D5
accent
#E68D00
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#1A0C10
muted
#877D7F