#F262BB

A color in the Purple, Crimson, Magenta family

#f262bb is a color in the Purple, Crimson, Magenta family: RGB(242, 98, 187), HSL(323°, 85%, 67%), CMYK(0%, 60%, 23%, 5%). Closest named color: hotpink. Contrast is 2.9:1 on white and 7.24:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f262bb
RGBrgb(242 98 187)
RGB (legacy)rgb(242, 98, 187)
RGB %rgb(95% 38% 73%)
HSLhsl(323 85% 67%)
HSV / HSBhsv(323, 60%, 95%)
HWBhwb(323 38% 5%)
CMYKcmyk(0%, 60%, 23%, 5%)
CIELAB (D50)lab(62.95 62.82 -18.21)
LCHlch(62.95 65.41 343.84)
OKLaboklab(0.7045 0.1935 -0.0505)
OKLCHoklch(0.7045 0.2 345.38)
Decimal15884987

Properties

Color TonePurple, Crimson, Magenta
Closest named colorhotpink ΔE 3.3
Closest web-safe color#ff66cc
Hue323°
Saturation (HSL / HSV)85% / 60%
Lightness (HSL)67%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)59% / 53%
Relative luminance (WCAG)0.312
Red / Green / Blue242 / 98 / 187

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.90:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.24:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 54.6 / -47.2 · As background with white / black text: Lc -59.9 / 49.5

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: #f262bb;
  --color-brand-oklch: oklch(70.45% 0.2 345.38);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(242 98 187 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f262bb] text-[#f262bb] border-[#f262bb]">