#8A1C44#8A1C44

#8A1C44 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.147 H 4.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#8A1C44
RGBrgb(138, 28, 68)
HSLhsl(338, 66%, 33%)
HSVhsv(338, 80%, 54%)
CMYKcmyk(0%, 79.7%, 50.7%, 45.9%)
CIE-LABlab(31.00, 47.82, 4.42)
CIE-LCHlch(31.00, 48.02, 5.28°)
OKLaboklab(42.43% 0.1464 0.0117)
OKLCHoklch(42.43% 0.147 4.6)
XYZxyz(11.9409, 6.6528, 6.1231)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C44 #1C8A62
analogous
#8A1C7B #8A1C44 #8A2B1C
triadic
#8A1C44 #448A1C #1C448A
tetradic
#8A1C44 #7B8A1C #1C8A62 #2B1C8A
square
#8A1C44 #7B8A1C #1C8A62 #2B1C8A
split-complementary
#8A1C44 #1C8A2B #1C7B8A
monochromatic
#240712 #57122B #8A1C44 #BD265D #DA477C

Accessibility & contrast

On white

9.01
#8A1C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A1C44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C44
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C44#FFFFFF#000000##FFFFFF
##8A1C441.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B45
Deuteranopia (green-blind)
#555141
Tritanopia (blue-blind)
#97002E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1c44;
/* rgb */ color: rgb(138, 28, 68);
/* oklch */ color: oklch(42.4% 0.147 4.6);
Tailwind
colors: {
  custom: {
    50: '#b26477',
    500: '#8a1c44',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c44;
$custom-light: #b26477;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c44",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 68
  },
  "hsl": {
    "h": 338.182,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4243,
    "c": 0.14683,
    "h": 4.6
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

primary
#8A1C44
secondary
#46BB91
accent
#E9AB3F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1C44

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

Preview Lab → · Contrast checker → · Palette generator →

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