#8A1241#8A1241

#8A1241 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.155 H 4.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#8A1241
RGBrgb(138, 18, 65)
HSLhsl(337, 77%, 31%)
HSVhsv(337, 87%, 54%)
CMYKcmyk(0%, 87%, 52.9%, 45.9%)
CIE-LABlab(29.96, 50.29, 4.92)
CIE-LCHlch(29.96, 50.53, 5.59°)
OKLaboklab(41.64% 0.154 0.013)
OKLCHoklch(41.64% 0.155 4.8)
XYZxyz(11.6528, 6.2192, 5.5868)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1241 #128A5B
analogous
#8A127D #8A1241 #8A1F12
triadic
#8A1241 #418A12 #12418A
tetradic
#8A1241 #7D8A12 #128A5B #1F128A
square
#8A1241 #7D8A12 #128A5B #1F128A
split-complementary
#8A1241 #128A1F #127D8A
monochromatic
#1E040E #540B27 #8A1241 #C0195A #E43278

Accessibility & contrast

On white

9.36
#8A1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#8A1241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1241
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1241#FFFFFF#000000##FFFFFF
##8A12411.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343842
Deuteranopia (green-blind)
#534F3E
Tritanopia (blue-blind)
#970028
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1241;
/* rgb */ color: rgb(138, 18, 65);
/* oklch */ color: oklch(41.6% 0.155 4.8);
Tailwind
colors: {
  custom: {
    50: '#b26175',
    500: '#8a1241',
    950: '#000000',
  },
}
SCSS
$custom: #8a1241;
$custom-light: #b26175;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1241",
  "rgb": {
    "r": 138,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 336.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41636,
    "c": 0.15458,
    "h": 4.8
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#8A1241
secondary
#39BF8A
accent
#F3A934
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1241

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

Preview Lab → · Contrast checker → · Palette generator →

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