#8A1237

A color in the Red, Pink family

#8a1237 is a color in the Red, Pink family: RGB(138, 18, 55), HSL(342°, 77%, 31%), CMYK(0%, 87%, 60%, 46%). Closest named color: darkred. Contrast is 9.45:1 on white and 2.22:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a1237
RGBrgb(138 18 55)
RGB (legacy)rgb(138, 18, 55)
RGB %rgb(54% 7% 22%)
HSLhsl(342 77% 31%)
HSV / HSBhsv(342, 87%, 54%)
HWBhwb(342 7% 46%)
CMYKcmyk(0%, 87%, 60%, 46%)
CIELAB (D50)lab(30.21 49.51 12.39)
LCHlch(30.21 51.03 14.05)
OKLaboklab(0.4136 0.1501 0.028)
OKLCHoklch(0.4136 0.1527 10.58)
Decimal9048631

Properties

Color ToneRed, Pink
Closest named colordarkred ΔE 5.4
Closest web-safe color#990033
Hue342°
Saturation (HSL / HSV)77% / 87%
Lightness (HSL)31%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)23% / 18%
Relative luminance (WCAG)0.0611
Red / Green / Blue138 / 18 / 55

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.45:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.22: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.2 / -12.1 · As background with white / black text: Lc -94.7 / 13.8

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: #8a1237;
  --color-brand-oklch: oklch(41.36% 0.1527 10.58);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 18 55 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a1237] text-[#8a1237] border-[#8a1237]">