#7F2B21

A color in the Red, Pink family

#7f2b21 is a color in the Red, Pink family: RGB(127, 43, 33), HSL(6°, 59%, 31%), CMYK(0%, 66%, 74%, 50%). Closest named color: darkred. Contrast is 9.25:1 on white and 2.27:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7f2b21
RGBrgb(127 43 33)
RGB (legacy)rgb(127, 43, 33)
RGB %rgb(50% 17% 13%)
HSLhsl(6 59% 31%)
HSV / HSBhsv(6, 74%, 50%)
HWBhwb(6 13% 50%)
CMYKcmyk(0%, 66%, 74%, 50%)
CIELAB (D50)lab(30.75 36.51 26.69)
LCHlch(30.75 45.23 36.17)
OKLaboklab(0.4126 0.1028 0.0588)
OKLCHoklch(0.4126 0.1184 29.76)
Decimal8334113

Properties

Color ToneRed, Pink
Closest named colordarkred ΔE 4.7
Closest web-safe color#663333
Hue6°
Saturation (HSL / HSV)59% / 74%
Lightness (HSL)31%
Brightness or Value (HSV)50%
Luminance (Rec.601 / Rec.709)26% / 24%
Relative luminance (WCAG)0.0635
Red / Green / Blue127 / 43 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.25:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.27: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 90.5 / -11.8 · As background with white / black text: Lc -94.9 / 13.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: #7f2b21;
  --color-brand-oklch: oklch(41.26% 0.1184 29.76);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(127 43 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7f2b21] text-[#7f2b21] border-[#7f2b21]">