#8A1940#8A1940

#8A1940 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.149 H 6.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#8A1940
RGBrgb(138, 25, 64)
HSLhsl(339, 69%, 32%)
HSVhsv(339, 82%, 54%)
CMYKcmyk(0%, 81.9%, 53.6%, 45.9%)
CIE-LABlab(30.57, 48.39, 6.45)
CIE-LCHlch(30.57, 48.81, 7.60°)
OKLaboklab(42.08% 0.1478 0.0167)
OKLCHoklch(42.08% 0.149 6.5)
XYZxyz(11.7554, 6.4704, 5.4794)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1940 #198A63
analogous
#8A1979 #8A1940 #8A2B19
triadic
#8A1940 #408A19 #19408A
tetradic
#8A1940 #798A19 #198A63 #2B198A
square
#8A1940 #798A19 #198A63 #2B198A
split-complementary
#8A1940 #198A2B #19798A
monochromatic
#220610 #561028 #8A1940 #BE2258 #DD4177

Accessibility & contrast

On white

9.16
#8A1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8A1940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1940
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1940#FFFFFF#000000##FFFFFF
##8A19401.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A41
Deuteranopia (green-blind)
#55503D
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1940;
/* rgb */ color: rgb(138, 25, 64);
/* oklch */ color: oklch(42.1% 0.149 6.5);
Tailwind
colors: {
  custom: {
    50: '#b26374',
    500: '#8a1940',
    950: '#000000',
  },
}
SCSS
$custom: #8a1940;
$custom-light: #b26374;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1940",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 339.292,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42075,
    "c": 0.14869,
    "h": 6.5
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#8A1940
secondary
#42BD93
accent
#ECAF3C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1940

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

Preview Lab → · Contrast checker → · Palette generator →

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