#F052D8

A color in the Purple, Crimson, Magenta family

#f052d8 is a color in the Purple, Crimson, Magenta family: RGB(240, 82, 216), HSL(309°, 84%, 63%), CMYK(0%, 66%, 10%, 6%). Closest named color: orchid. Contrast is 3.04:1 on white and 6.9:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f052d8
RGBrgb(240 82 216)
RGB (legacy)rgb(240, 82, 216)
RGB %rgb(94% 32% 85%)
HSLhsl(309 84% 63%)
HSV / HSBhsv(309, 66%, 94%)
HWBhwb(309 32% 6%)
CMYKcmyk(0%, 66%, 10%, 6%)
CIELAB (D50)lab(61.31 71.32 -37.16)
LCHlch(61.31 80.42 332.48)
OKLaboklab(0.6972 0.2157 -0.103)
OKLCHoklch(0.6972 0.2391 334.47)
Decimal15749848

Properties

Color TonePurple, Crimson, Magenta
Closest named colororchid ΔE 6.2
Closest web-safe color#ff66cc
Hue309°
Saturation (HSL / HSV)84% / 66%
Lightness (HSL)63%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)57% / 49%
Relative luminance (WCAG)0.2952
Red / Green / Blue240 / 82 / 216

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.04:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.90: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.2 / -45.6 · As background with white / black text: Lc -61.5 / 47.9

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: #f052d8;
  --color-brand-oklch: oklch(69.72% 0.2391 334.47);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(240 82 216 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f052d8] text-[#f052d8] border-[#f052d8]">