#940E21

A color in the Red, Pink family

#940e21 is a color in the Red, Pink family: RGB(148, 14, 33), HSL(351°, 83%, 32%), CMYK(0%, 91%, 78%, 42%). Closest named color: darkred. Contrast is 8.96:1 on white and 2.34:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#940e21
RGBrgb(148 14 33)
RGB (legacy)rgb(148, 14, 33)
RGB %rgb(58% 5% 13%)
HSLhsl(351 83% 32%)
HSV / HSBhsv(351, 91%, 58%)
HWBhwb(351 5% 42%)
CMYKcmyk(0%, 91%, 78%, 42%)
CIELAB (D50)lab(31.8 52.31 29.35)
LCHlch(31.8 59.98 29.29)
OKLaboklab(0.4269 0.1514 0.0621)
OKLCHoklch(0.4269 0.1637 22.29)
Decimal9702945

Properties

Color ToneRed, Pink
Closest named colordarkred ΔE 3.4
Closest web-safe color#990033
Hue351°
Saturation (HSL / HSV)83% / 91%
Lightness (HSL)32%
Brightness or Value (HSV)58%
Luminance (Rec.601 / Rec.709)22% / 17%
Relative luminance (WCAG)0.0672
Red / Green / Blue148 / 14 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.96:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.34:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 88.6 / -13.6 · As background with white / black text: Lc -93.2 / 15.4

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: #940e21;
  --color-brand-oklch: oklch(42.69% 0.1637 22.29);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(148 14 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#940e21] text-[#940e21] border-[#940e21]">