#ED02CA

A color in the Purple, Crimson, Magenta family

#ed02ca is a color in the Purple, Crimson, Magenta family: RGB(237, 2, 202), HSL(309°, 98%, 47%), CMYK(0%, 99%, 15%, 7%). Closest named color: fuchsia. Contrast is 3.84:1 on white and 5.46:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ed02ca
RGBrgb(237 2 202)
RGB (legacy)rgb(237, 2, 202)
RGB %rgb(93% 1% 79%)
HSLhsl(309 98% 47%)
HSV / HSBhsv(309, 99%, 93%)
HWBhwb(309 1% 7%)
CMYKcmyk(0%, 99%, 15%, 7%)
CIELAB (D50)lab(54.52 85.02 -39.81)
LCHlch(54.52 93.88 334.91)
OKLaboklab(0.6447 0.2609 -0.1109)
OKLCHoklch(0.6447 0.2835 336.97)
Decimal15532746

Properties

Color TonePurple, Crimson, Magenta
Closest named colorfuchsia ΔE 8.3
Closest web-safe color#ff00cc
Hue309°
Saturation (HSL / HSV)98% / 99%
Lightness (HSL)47%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)37% / 26%
Relative luminance (WCAG)0.2231
Red / Green / Blue237 / 2 / 202

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.84:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.46: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 63.2 / -38.4 · As background with white / black text: Lc -68.7 / 40.8

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: #ed02ca;
  --color-brand-oklch: oklch(64.47% 0.2835 336.97);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(237 2 202 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ed02ca] text-[#ed02ca] border-[#ed02ca]">