#FB0421

A color in the Red, Pink family

#fb0421 is a color in the Red, Pink family: RGB(251, 4, 33), HSL(353°, 97%, 50%), CMYK(0%, 98%, 87%, 2%). Closest named color: red. Contrast is 4.08:1 on white and 5.14:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#fb0421
RGBrgb(251 4 33)
RGB (legacy)rgb(251, 4, 33)
RGB %rgb(98% 2% 13%)
HSLhsl(353 97% 50%)
HSV / HSBhsv(353, 98%, 98%)
HWBhwb(353 2% 2%)
CMYKcmyk(0%, 98%, 87%, 2%)
CIELAB (D50)lab(53.65 79.8 58.22)
LCHlch(53.65 98.79 36.11)
OKLaboklab(0.6225 0.2256 0.1129)
OKLCHoklch(0.6225 0.2523 26.58)
Decimal16450593

Properties

Color ToneRed, Pink
Closest named colorred ΔE 1.4
Closest web-safe color#ff0033
Hue353°
Saturation (HSL / HSV)97% / 98%
Lightness (HSL)50%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)32% / 23%
Relative luminance (WCAG)0.2071
Red / Green / Blue251 / 4 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.08:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.14: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.1 / -36.6 · As background with white / black text: Lc -70.6 / 39

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: #fb0421;
  --color-brand-oklch: oklch(62.25% 0.2523 26.58);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(251 4 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#fb0421] text-[#fb0421] border-[#fb0421]">