#8A1741#8A1741

#8A1741 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.151 H 5.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#8A1741
RGBrgb(138, 23, 65)
HSLhsl(338, 71%, 32%)
HSVhsv(338, 83%, 54%)
CMYKcmyk(0%, 83.3%, 52.9%, 45.9%)
CIE-LABlab(30.40, 49.03, 5.55)
CIE-LCHlch(30.40, 49.35, 6.45°)
OKLaboklab(41.96% 0.15 0.0145)
OKLCHoklch(41.96% 0.151 5.5)
XYZxyz(11.7428, 6.3994, 5.6169)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1741 #178A60
analogous
#8A177B #8A1741 #8A2717
triadic
#8A1741 #418A17 #17418A
tetradic
#8A1741 #7B8A17 #178A60 #27178A
square
#8A1741 #7B8A17 #178A60 #27178A
split-complementary
#8A1741 #178A27 #177B8A
monochromatic
#210610 #560E28 #8A1741 #BE205A #DF3D78

Accessibility & contrast

On white

9.21
#8A1741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8A1741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1741
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1741#FFFFFF#000000##FFFFFF
##8A17411.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363942
Deuteranopia (green-blind)
#54503E
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1741;
/* rgb */ color: rgb(138, 23, 65);
/* oklch */ color: oklch(42.0% 0.151 5.5);
Tailwind
colors: {
  custom: {
    50: '#b26275',
    500: '#8a1741',
    950: '#000000',
  },
}
SCSS
$custom: #8a1741;
$custom-light: #b26275;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1741",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 65
  },
  "hsl": {
    "h": 338.087,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41958,
    "c": 0.15067,
    "h": 5.5
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#8A1741
secondary
#3FBE8F
accent
#EEAC3A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1741

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

Preview Lab → · Contrast checker → · Palette generator →

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