#7B052D

A color in the Red, Pink family

#7b052d is a color in the Red, Pink family: RGB(123, 5, 45), HSL(340°, 92%, 25%), CMYK(0%, 96%, 63%, 52%). Closest named color: maroon. Contrast is 11.04:1 on white and 1.9:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7b052d
RGBrgb(123 5 45)
RGB (legacy)rgb(123, 5, 45)
RGB %rgb(48% 2% 18%)
HSLhsl(340 92% 25%)
HSV / HSBhsv(340, 96%, 48%)
HWBhwb(340 2% 52%)
CMYKcmyk(0%, 96%, 63%, 52%)
CIELAB (D50)lab(25.79 47.28 12.62)
LCHlch(25.79 48.94 14.95)
OKLaboklab(0.3748 0.1432 0.0283)
OKLCHoklch(0.3748 0.146 11.19)
Decimal8062253

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 4.8
Closest web-safe color#660033
Hue340°
Saturation (HSL / HSV)92% / 96%
Lightness (HSL)25%
Brightness or Value (HSV)48%
Luminance (Rec.601 / Rec.709)18% / 13%
Relative luminance (WCAG)0.0451
Red / Green / Blue123 / 5 / 45

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.04:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.90: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 93.6 / -8.9 · As background with white / black text: Lc -97.7 / 10.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: #7b052d;
  --color-brand-oklch: oklch(37.48% 0.146 11.19);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(123 5 45 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7b052d] text-[#7b052d] border-[#7b052d]">