#B31C19

A color in the Red, Pink family

#b31c19 is a color in the Red, Pink family: RGB(179, 28, 25), HSL(1°, 75%, 40%), CMYK(0%, 84%, 86%, 30%). Closest named color: firebrick. Contrast is 6.78:1 on white and 3.1:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b31c19
RGBrgb(179 28 25)
RGB (legacy)rgb(179, 28, 25)
RGB %rgb(70% 11% 10%)
HSLhsl(1 75% 40%)
HSV / HSBhsv(1, 86%, 70%)
HWBhwb(1 10% 30%)
CMYKcmyk(0%, 84%, 86%, 30%)
CIELAB (D50)lab(39.45 58.17 43.79)
LCHlch(39.45 72.81 36.97)
OKLaboklab(0.4938 0.1635 0.0873)
OKLCHoklch(0.4938 0.1853 28.1)
Decimal11738137

Properties

Color ToneRed, Pink
Closest named colorfirebrick ΔE 0.8
Closest web-safe color#cc3300
Hue1°
Saturation (HSL / HSV)75% / 86%
Lightness (HSL)40%
Brightness or Value (HSV)70%
Luminance (Rec.601 / Rec.709)29% / 23%
Relative luminance (WCAG)0.1048
Red / Green / Blue179 / 28 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.78:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.10:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 81.5 / -20.3 · As background with white / black text: Lc -86.6 / 22.5

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: #b31c19;
  --color-brand-oklch: oklch(49.38% 0.1853 28.1);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(179 28 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b31c19] text-[#b31c19] border-[#b31c19]">