#F00A98

A color in the Purple, Crimson, Magenta family

#f00a98 is a color in the Purple, Crimson, Magenta family: RGB(240, 10, 152), HSL(323°, 92%, 49%), CMYK(0%, 96%, 37%, 6%). Closest named color: deeppink. Contrast is 4.04:1 on white and 5.2:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f00a98
RGBrgb(240 10 152)
RGB (legacy)rgb(240, 10, 152)
RGB %rgb(94% 4% 60%)
HSLhsl(323 92% 49%)
HSV / HSBhsv(323, 96%, 94%)
HWBhwb(323 4% 6%)
CMYKcmyk(0%, 96%, 37%, 6%)
CIELAB (D50)lab(53.5 81.25 -12.06)
LCHlch(53.5 82.14 351.55)
OKLaboklab(0.6288 0.2551 -0.0347)
OKLCHoklch(0.6288 0.2574 352.25)
Decimal15731352

Properties

Color TonePurple, Crimson, Magenta
Closest named colordeeppink ΔE 3.4
Closest web-safe color#ff0099
Hue323°
Saturation (HSL / HSV)92% / 96%
Lightness (HSL)49%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)37% / 27%
Relative luminance (WCAG)0.2101
Red / Green / Blue240 / 10 / 152

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.04:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.20: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 65.1 / -36.6 · As background with white / black text: Lc -70.6 / 39

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: #f00a98;
  --color-brand-oklch: oklch(62.88% 0.2574 352.25);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(240 10 152 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f00a98] text-[#f00a98] border-[#f00a98]">