#FF408B#FF408B
#FF408B is a light, highly saturated pink. Relative luminance 0.268; OKLCH L 67.5% C 0.230 H 2.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #FF408B |
|---|---|
| RGB | rgb(255, 64, 139) |
| HSL | hsl(336, 100%, 63%) |
| HSV | hsv(336, 75%, 100%) |
| CMYK | cmyk(0%, 74.9%, 45.5%, 0%) |
| CIE-LAB | lab(58.79, 75.09, 3.17) |
| CIE-LCH | lch(58.79, 75.16, 2.42°) |
| OKLab | oklab(67.48% 0.2303 0.009) |
| OKLCH | oklch(67.48% 0.23 2.2) |
| XYZ | xyz(47.7375, 26.7973, 27.0797) |
| Luminance | 0.2679 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Strawberry
#FC5A8D
ΔE00 3.67
Strong Pink
#FF0789
ΔE00 4.13
Rose
#FF007F
ΔE00 4.17
Medium Pink
#F36196
ΔE00 4.41
Hot Pink (survey)
#FF028D
ΔE00 4.59
Warm Pink
#FB5581
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FF408B #40FFB4
analogous
#FF40EA #FF408B #FF5540
triadic
#FF408B #8BFF40 #408BFF
tetradic
#FF408B #EAFF40 #40FFB4 #5540FF
square
#FF408B #EAFF40 #40FFB4 #5540FF
split-complementary
#FF408B #40FF55 #40EAFF
monochromatic
#C5004D #FF0366 #FF408B #FF7DB0 #FFBAD5
Accessibility & contrast
On white
3.30
#FF408B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#FF408B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #FF408B
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FF408B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FF408B | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D768D
Deuteranopia (green-blind)
#A09B87
Tritanopia (blue-blind)
#FF1561
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #ff408b; /* rgb */ color: rgb(255, 64, 139); /* oklch */ color: oklch(67.5% 0.230 2.2);
Tailwind
colors: {
custom: {
50: '#ff85ac',
500: '#ff408b',
950: '#000000',
},
}SCSS
$custom: #ff408b; $custom-light: #ff85ac; $custom-dark: #000000;
JSON
{
"hex": "#ff408b",
"rgb": {
"r": 255,
"g": 64,
"b": 139
},
"hsl": {
"h": 336.44,
"s": 100,
"l": 62.549
},
"oklch": {
"l": 0.67481,
"c": 0.23045,
"h": 2.2
},
"luminance": 0.26791
}Semantic roles & 50–950 ramp
primary
#FF408B
secondary
#ABF0D5
accent
#E68B00
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#1A0C10
muted
#877D7F