#2C0708

A color in the Red, Pink family

#2c0708 is a color in the Red, Pink family: RGB(44, 7, 8), HSL(358°, 73%, 10%), CMYK(0%, 84%, 82%, 83%). Closest named color: midnightblue. Contrast is 18.41:1 on white and 1.14:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2c0708
RGBrgb(44 7 8)
RGB (legacy)rgb(44, 7, 8)
RGB %rgb(17% 3% 3%)
HSLhsl(358 73% 10%)
HSV / HSBhsv(358, 84%, 17%)
HWBhwb(358 3% 83%)
CMYKcmyk(0%, 84%, 82%, 83%)
CIELAB (D50)lab(6.57 19.06 7)
LCHlch(6.57 20.3 20.18)
OKLaboklab(0.1992 0.0564 0.0239)
OKLCHoklch(0.1992 0.0612 22.96)
Decimal2885384

Properties

Color ToneRed, Pink
Closest named colormidnightblue ΔE 19.6
Closest web-safe color#330000
Hue358°
Saturation (HSL / HSV)73% / 84%
Lightness (HSL)10%
Brightness or Value (HSV)17%
Luminance (Rec.601 / Rec.709)7% / 6%
Relative luminance (WCAG)0.007
Red / Green / Blue44 / 7 / 8

WCAG 2.2 Contrast Ratio

On White (#ffffff)
18.41:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.14: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 104.6 / 0 · As background with white / black text: Lc -106.8 / 0

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: #2c0708;
  --color-brand-oklch: oklch(19.92% 0.0612 22.96);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(44 7 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2c0708] text-[#2c0708] border-[#2c0708]">