#F052D3
A color in the Purple, Crimson, Magenta family
#f052d3 is a color in the Purple, Crimson, Magenta family: RGB(240, 82, 211), HSL(311°, 84%, 63%), CMYK(0%, 66%, 12%, 6%). Closest named color: orchid. Contrast is 3.06:1 on white and 6.85:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #f052d3 |
|---|---|
| RGB | rgb(240 82 211) |
| RGB (legacy) | rgb(240, 82, 211) |
| RGB % | rgb(94% 32% 83%) |
| HSL | hsl(311 84% 63%) |
| HSV / HSB | hsv(311, 66%, 94%) |
| HWB | hwb(311 32% 6%) |
| CMYK | cmyk(0%, 66%, 12%, 6%) |
| CIELAB (D50) | lab(61.12 70.79 -34.63) |
| LCH | lch(61.12 78.8 333.93) |
| OKLab | oklab(0.6949 0.2151 -0.096) |
| OKLCH | oklch(0.6949 0.2356 335.96) |
| Decimal | 15749843 |
Properties
| Color Tone | Purple, Crimson, Magenta |
|---|---|
| Closest named color | orchid ΔE 6.1 |
| Closest web-safe color | #ff66cc |
| Hue | 311° |
| Saturation (HSL / HSV) | 84% / 66% |
| Lightness (HSL) | 63% |
| Brightness or Value (HSV) | 94% |
| Luminance (Rec.601 / Rec.709) | 56% / 49% |
| Relative luminance (WCAG) | 0.2926 |
| Red / Green / Blue | 240 / 82 / 211 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
3.06:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.85: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.5 / -45.3 · As background with white / black text: Lc -61.8 / 47.6
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
Complementary
Split Complementary
Analogous
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: #f052d3;
--color-brand-oklch: oklch(69.49% 0.2356 335.96);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(240 82 211 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f052d3] text-[#f052d3] border-[#f052d3]">