#940D21

A color in the Red, Pink family

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

Open in Picker Generate Scheme

Color Codes

HEX#940d21
RGBrgb(148 13 33)
RGB (legacy)rgb(148, 13, 33)
RGB %rgb(58% 5% 13%)
HSLhsl(351 84% 32%)
HSV / HSBhsv(351, 91%, 58%)
HWBhwb(351 5% 42%)
CMYKcmyk(0%, 91%, 78%, 42%)
CIELAB (D50)lab(31.74 52.48 29.28)
LCHlch(31.74 60.1 29.16)
OKLaboklab(0.4264 0.152 0.0619)
OKLCHoklch(0.4264 0.1641 22.17)
Decimal9702689

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.98: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.5 · As background with white / black text: Lc -93.2 / 15.3

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