#F05AB2

A color in the Purple, Crimson, Magenta family

#f05ab2 is a color in the Purple, Crimson, Magenta family: RGB(240, 90, 178), HSL(325°, 83%, 65%), CMYK(0%, 62%, 26%, 6%). Closest named color: hotpink. Contrast is 3.08:1 on white and 6.81:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f05ab2
RGBrgb(240 90 178)
RGB (legacy)rgb(240, 90, 178)
RGB %rgb(94% 35% 70%)
HSLhsl(325 83% 65%)
HSV / HSBhsv(325, 62%, 94%)
HWBhwb(325 35% 6%)
CMYKcmyk(0%, 62%, 26%, 6%)
CIELAB (D50)lab(61.15 64.57 -15.81)
LCHlch(61.15 66.48 346.24)
OKLaboklab(0.6892 0.1996 -0.044)
OKLCHoklch(0.6892 0.2044 347.56)
Decimal15751858

Properties

Color TonePurple, Crimson, Magenta
Closest named colorhotpink ΔE 4.3
Closest web-safe color#ff6699
Hue325°
Saturation (HSL / HSV)83% / 62%
Lightness (HSL)65%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)57% / 50%
Relative luminance (WCAG)0.2905
Red / Green / Blue240 / 90 / 178

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.08:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.81: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 56.9 / -44.9 · As background with white / black text: Lc -62.3 / 47.1

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: #f05ab2;
  --color-brand-oklch: oklch(68.92% 0.2044 347.56);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(240 90 178 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f05ab2] text-[#f05ab2] border-[#f05ab2]">