Skip to content

#fb2abc

a balanced, electric magenta / pink · warm · closest name: orchid

RGB
251, 42, 188
HSL
318°, 96%, 58%
CMYK
0, 83, 25, 2
Luminance
0.2580

Every format

HEX#fb2abc
RGBrgb(251, 42, 188)
HSLhsl(318, 96%, 58%)
CMYKcmyk(0%, 83%, 25%, 2%)
LABlab(57.9 84.5 -26.9)
LCHlch(57.9 88.7 342.3)
OKLCHoklch(0.672 0.266 344.3)

Copy-ready code

/* CSS */
color: #fb2abc;
background-color: #fb2abc;
/* Tailwind (arbitrary) */
class="text-[#fb2abc] bg-[#fb2abc]"
/* SCSS */
$brand: #fb2abc;
/* SwiftUI */
Color(red: 0.984, green: 0.165, blue: 0.737)
/* Android */
Color.parseColor("#fb2abc")

Accessibility — WCAG contrast

Aa
#fb2abc on white: 3.41:1
AA ✗ fail · AA-large · AAA
Aa
#fb2abc on black: 6.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green16.5%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta83.3%
Yellow25.1%
Key (black)1.6%

Color previews

#fb2abc text on a black background

contrast 6.16:1

Card sample

#fb2abc text on a white background

contrast 3.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #fb2abc;
Background color
Panel with #fb2abc background
background-color: #fb2abc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #fb2abc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(251, 42, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(251, 42, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fb2abc;
background: linear-gradient(135deg, #fb2abc, #FB2A31);

Monochromatic scale

Palettes built from #fb2abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fb2abc in the Color Lab