#8A1946#8A1946

#8A1946 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.150 H 2.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#8A1946
RGBrgb(138, 25, 70)
HSLhsl(336, 69%, 32%)
HSVhsv(336, 82%, 54%)
CMYKcmyk(0%, 81.9%, 49.3%, 45.9%)
CIE-LABlab(30.74, 48.91, 2.72)
CIE-LCHlch(30.74, 48.98, 3.18°)
OKLaboklab(42.26% 0.15 0.0075)
OKLCHoklch(42.26% 0.15 2.8)
XYZxyz(11.9354, 6.5424, 6.4275)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1946 #198A5D
analogous
#8A197F #8A1946 #8A2419
triadic
#8A1946 #468A19 #19468A
tetradic
#8A1946 #7F8A19 #198A5D #24198A
square
#8A1946 #7F8A19 #198A5D #24198A
split-complementary
#8A1946 #198A24 #197F8A
monochromatic
#220611 #56102C #8A1946 #BE2260 #DD417F

Accessibility & contrast

On white

9.10
#8A1946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A1946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1946
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1946#FFFFFF#000000##FFFFFF
##8A19461.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A47
Deuteranopia (green-blind)
#545043
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1946;
/* rgb */ color: rgb(138, 25, 70);
/* oklch */ color: oklch(42.3% 0.150 2.8);
Tailwind
colors: {
  custom: {
    50: '#b26379',
    500: '#8a1946',
    950: '#000000',
  },
}
SCSS
$custom: #8a1946;
$custom-light: #b26379;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1946",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 336.106,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42257,
    "c": 0.15023,
    "h": 2.8
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#8A1946
secondary
#42BD8C
accent
#ECA63C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1946

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

Preview Lab → · Contrast checker → · Palette generator →

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