#F5104F

A color in the Red, Pink family

#f5104f is a color in the Red, Pink family: RGB(245, 16, 79), HSL(343°, 92%, 51%), CMYK(0%, 93%, 68%, 4%). Closest named color: crimson. Contrast is 4.14:1 on white and 5.07:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f5104f
RGBrgb(245 16 79)
RGB (legacy)rgb(245, 16, 79)
RGB %rgb(96% 6% 31%)
HSLhsl(343 92% 51%)
HSV / HSBhsv(343, 93%, 96%)
HWBhwb(343 6% 4%)
CMYKcmyk(0%, 93%, 68%, 4%)
CIELAB (D50)lab(53.13 78.44 31.7)
LCHlch(53.13 84.6 22.01)
OKLaboklab(0.6191 0.2328 0.0696)
OKLCHoklch(0.6191 0.243 16.65)
Decimal16060495

Properties

Color ToneRed, Pink
Closest named colorcrimson ΔE 5.4
Closest web-safe color#ff0066
Hue343°
Saturation (HSL / HSV)92% / 93%
Lightness (HSL)51%
Brightness or Value (HSV)96%
Luminance (Rec.601 / Rec.709)36% / 27%
Relative luminance (WCAG)0.2035
Red / Green / Blue245 / 16 / 79

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.14:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.07: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 65.9 / -35.7 · As background with white / black text: Lc -71.5 / 38.1

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: #f5104f;
  --color-brand-oklch: oklch(61.91% 0.243 16.65);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(245 16 79 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f5104f] text-[#f5104f] border-[#f5104f]">