#7B2D21

A color in the Red, Pink family

#7b2d21 is a color in the Red, Pink family: RGB(123, 45, 33), HSL(8°, 58%, 31%), CMYK(0%, 63%, 73%, 52%). Closest named color: darkred. Contrast is 9.38:1 on white and 2.24:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7b2d21
RGBrgb(123 45 33)
RGB (legacy)rgb(123, 45, 33)
RGB %rgb(48% 18% 13%)
HSLhsl(8 58% 31%)
HSV / HSBhsv(8, 73%, 48%)
HWBhwb(8 13% 52%)
CMYKcmyk(0%, 63%, 73%, 52%)
CIELAB (D50)lab(30.35 34.06 26)
LCHlch(30.35 42.85 37.36)
OKLaboklab(0.4084 0.0955 0.0576)
OKLCHoklch(0.4084 0.1115 31.12)
Decimal8072481

Properties

Color ToneRed, Pink
Closest named colordarkred ΔE 5.3
Closest web-safe color#663333
Hue8°
Saturation (HSL / HSV)58% / 73%
Lightness (HSL)31%
Brightness or Value (HSV)48%
Luminance (Rec.601 / Rec.709)26% / 24%
Relative luminance (WCAG)0.062
Red / Green / Blue123 / 45 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.38:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.24: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 91 / -11.4 · As background with white / black text: Lc -95.3 / 13

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: #7b2d21;
  --color-brand-oklch: oklch(40.84% 0.1115 31.12);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(123 45 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7b2d21] text-[#7b2d21] border-[#7b2d21]">