#FF3C8A

A color in the Red, Pink family

#ff3c8a is a color in the Red, Pink family: RGB(255, 60, 138), HSL(336°, 100%, 62%), CMYK(0%, 76%, 46%, 0%). Closest named color: deeppink. Contrast is 3.35:1 on white and 6.27:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ff3c8a
RGBrgb(255 60 138)
RGB (legacy)rgb(255, 60, 138)
RGB %rgb(100% 24% 54%)
HSLhsl(336 100% 62%)
HSV / HSBhsv(336, 76%, 100%)
HWBhwb(336 24% 0%)
CMYKcmyk(0%, 76%, 46%, 0%)
CIELAB (D50)lab(59 75.67 4.65)
LCHlch(59 75.81 3.52)
OKLaboklab(0.6715 0.2337 0.0089)
OKLCHoklch(0.6715 0.2338 2.17)
Decimal16727178

Properties

Color ToneRed, Pink
Closest named colordeeppink ΔE 3.9
Closest web-safe color#ff3399
Hue336°
Saturation (HSL / HSV)100% / 76%
Lightness (HSL)62%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)50% / 42%
Relative luminance (WCAG)0.2633
Red / Green / Blue255 / 60 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.35:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.27: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 59.4 / -42.3 · As background with white / black text: Lc -64.8 / 44.7

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: #ff3c8a;
  --color-brand-oklch: oklch(67.15% 0.2338 2.17);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(255 60 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ff3c8a] text-[#ff3c8a] border-[#ff3c8a]">