#A40F21

A color in the Red, Pink family

#a40f21 is a color in the Red, Pink family: RGB(164, 15, 33), HSL(353°, 83%, 35%), CMYK(0%, 91%, 80%, 36%). Closest named color: brown. Contrast is 7.87:1 on white and 2.67:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a40f21
RGBrgb(164 15 33)
RGB (legacy)rgb(164, 15, 33)
RGB %rgb(64% 6% 13%)
HSLhsl(353 83% 35%)
HSV / HSBhsv(353, 91%, 64%)
HWBhwb(353 6% 36%)
CMYKcmyk(0%, 91%, 80%, 36%)
CIELAB (D50)lab(35.39 56.58 34.32)
LCHlch(35.39 66.18 31.24)
OKLaboklab(0.4589 0.1627 0.0713)
OKLCHoklch(0.4589 0.1776 23.67)
Decimal10751777

Properties

Color ToneRed, Pink
Closest named colorbrown ΔE 2.9
Closest web-safe color#990033
Hue353°
Saturation (HSL / HSV)83% / 91%
Lightness (HSL)35%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)24% / 19%
Relative luminance (WCAG)0.0834
Red / Green / Blue164 / 15 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.87:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.67: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 85.2 / -16.8 · As background with white / black text: Lc -90.1 / 18.8

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: #a40f21;
  --color-brand-oklch: oklch(45.89% 0.1776 23.67);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(164 15 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a40f21] text-[#a40f21] border-[#a40f21]">