#2B0607

A color in the Red, Pink family

#2b0607 is a color in the Red, Pink family: RGB(43, 6, 7), HSL(358°, 76%, 10%), CMYK(0%, 86%, 84%, 83%). Closest named color: midnightblue. Contrast is 18.55:1 on white and 1.13:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2b0607
RGBrgb(43 6 7)
RGB (legacy)rgb(43, 6, 7)
RGB %rgb(17% 2% 3%)
HSLhsl(358 76% 10%)
HSV / HSBhsv(358, 86%, 17%)
HWBhwb(358 2% 83%)
CMYKcmyk(0%, 86%, 84%, 83%)
CIELAB (D50)lab(6.15 18.89 6.77)
LCHlch(6.15 20.07 19.72)
OKLaboklab(0.195 0.0567 0.0243)
OKLCHoklch(0.195 0.0617 23.2)
Decimal2819591

Properties

Color ToneRed, Pink
Closest named colormidnightblue ΔE 19.8
Closest web-safe color#330000
Hue358°
Saturation (HSL / HSV)76% / 86%
Lightness (HSL)10%
Brightness or Value (HSV)17%
Luminance (Rec.601 / Rec.709)7% / 5%
Relative luminance (WCAG)0.0066
Red / Green / Blue43 / 6 / 7

WCAG 2.2 Contrast Ratio

On White (#ffffff)
18.55:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.13: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.7 / 0 · As background with white / black text: Lc -106.9 / 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: #2b0607;
  --color-brand-oklch: oklch(19.5% 0.0617 23.2);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(43 6 7 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2b0607] text-[#2b0607] border-[#2b0607]">