#8A1442#8A1442

#8A1442 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.153 H 4.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#8A1442
RGBrgb(138, 20, 66)
HSLhsl(337, 75%, 31%)
HSVhsv(337, 86%, 54%)
CMYKcmyk(0%, 85.5%, 52.2%, 45.9%)
CIE-LABlab(30.15, 49.90, 4.53)
CIE-LCHlch(30.15, 50.10, 5.19°)
OKLaboklab(41.79% 0.1529 0.012)
OKLCHoklch(41.79% 0.153 4.5)
XYZxyz(11.7158, 6.2986, 5.7520)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1442 #148A5C
analogous
#8A147D #8A1442 #8A2114
triadic
#8A1442 #428A14 #14428A
tetradic
#8A1442 #7D8A14 #148A5C #21148A
square
#8A1442 #7D8A14 #148A5C #21148A
split-complementary
#8A1442 #148A21 #147D8A
monochromatic
#1F050F #550C28 #8A1442 #BF1C5C #E23679

Accessibility & contrast

On white

9.29
#8A1442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#8A1442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1442
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1442#FFFFFF#000000##FFFFFF
##8A14421.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343843
Deuteranopia (green-blind)
#534F3F
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1442;
/* rgb */ color: rgb(138, 20, 66);
/* oklch */ color: oklch(41.8% 0.153 4.5);
Tailwind
colors: {
  custom: {
    50: '#b26176',
    500: '#8a1442',
    950: '#000000',
  },
}
SCSS
$custom: #8a1442;
$custom-light: #b26176;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1442",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 66
  },
  "hsl": {
    "h": 336.61,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41788,
    "c": 0.15334,
    "h": 4.5
  },
  "luminance": 0.06297
}

Semantic roles & 50–950 ramp

primary
#8A1442
secondary
#3CBE8B
accent
#F1A836
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1442

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8A1442 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva