#8A1A44#8A1A44

#8A1A44 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.149 H 4.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#8A1A44
RGBrgb(138, 26, 68)
HSLhsl(338, 68%, 32%)
HSVhsv(338, 81%, 54%)
CMYKcmyk(0%, 81.2%, 50.7%, 45.9%)
CIE-LABlab(30.79, 48.44, 4.11)
CIE-LCHlch(30.79, 48.61, 4.84°)
OKLaboklab(42.27% 0.1483 0.0109)
OKLCHoklch(42.27% 0.149 4.2)
XYZxyz(11.8951, 6.5611, 6.1078)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A44 #1A8A60
analogous
#8A1A7C #8A1A44 #8A281A
triadic
#8A1A44 #448A1A #1A448A
tetradic
#8A1A44 #7C8A1A #1A8A60 #281A8A
square
#8A1A44 #7C8A1A #1A8A60 #281A8A
split-complementary
#8A1A44 #1A8A28 #1A7C8A
monochromatic
#230711 #57102B #8A1A44 #BD245D #DC437C

Accessibility & contrast

On white

9.08
#8A1A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A1A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A44
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A44#FFFFFF#000000##FFFFFF
##8A1A441.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A45
Deuteranopia (green-blind)
#545041
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1a44;
/* rgb */ color: rgb(138, 26, 68);
/* oklch */ color: oklch(42.3% 0.149 4.2);
Tailwind
colors: {
  custom: {
    50: '#b26377',
    500: '#8a1a44',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a44;
$custom-light: #b26377;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a44",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 68
  },
  "hsl": {
    "h": 337.5,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42271,
    "c": 0.14874,
    "h": 4.2
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

primary
#8A1A44
secondary
#43BD8F
accent
#EBAA3D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1A44

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

Preview Lab → · Contrast checker → · Palette generator →

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