#8A1440#8A1440

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

Color values

HEX#8A1440
RGBrgb(138, 20, 64)
HSLhsl(338, 75%, 31%)
HSVhsv(338, 86%, 54%)
CMYKcmyk(0%, 85.5%, 53.6%, 45.9%)
CIE-LABlab(30.10, 49.73, 5.78)
CIE-LCHlch(30.10, 50.07, 6.63°)
OKLaboklab(41.73% 0.1521 0.0151)
OKLCHoklch(41.73% 0.153 5.7)
XYZxyz(11.6579, 6.2754, 5.4469)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1440 #148A5E
analogous
#8A147B #8A1440 #8A2314
triadic
#8A1440 #408A14 #14408A
tetradic
#8A1440 #7B8A14 #148A5E #23148A
square
#8A1440 #7B8A14 #148A5E #23148A
split-complementary
#8A1440 #148A23 #147B8A
monochromatic
#1F050E #550C27 #8A1440 #BF1C59 #E23676

Accessibility & contrast

On white

9.31
#8A1440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#8A1440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1440
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1440#FFFFFF#000000##FFFFFF
##8A14401.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353841
Deuteranopia (green-blind)
#544F3D
Tritanopia (blue-blind)
#970028
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1440;
/* rgb */ color: rgb(138, 20, 64);
/* oklch */ color: oklch(41.7% 0.153 5.7);
Tailwind
colors: {
  custom: {
    50: '#b26174',
    500: '#8a1440',
    950: '#000000',
  },
}
SCSS
$custom: #8a1440;
$custom-light: #b26174;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1440",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 337.627,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41728,
    "c": 0.15285,
    "h": 5.7
  },
  "luminance": 0.06274
}

Semantic roles & 50–950 ramp

primary
#8A1440
secondary
#3CBE8D
accent
#F1AC36
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1440

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

Preview Lab → · Contrast checker → · Palette generator →

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