#8A1746#8A1746

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

Color values

HEX#8A1746
RGBrgb(138, 23, 70)
HSLhsl(335, 71%, 32%)
HSVhsv(335, 83%, 54%)
CMYKcmyk(0%, 83.3%, 49.3%, 45.9%)
CIE-LABlab(30.54, 49.47, 2.43)
CIE-LCHlch(30.54, 49.53, 2.81°)
OKLaboklab(42.11% 0.1519 0.0067)
OKLCHoklch(42.11% 0.152 2.5)
XYZxyz(11.8941, 6.4599, 6.4137)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1746 #178A5B
analogous
#8A1780 #8A1746 #8A2117
triadic
#8A1746 #468A17 #17468A
tetradic
#8A1746 #808A17 #178A5B #21178A
square
#8A1746 #808A17 #178A5B #21178A
split-complementary
#8A1746 #178A21 #17808A
monochromatic
#210611 #560E2B #8A1746 #BE2061 #DF3D7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1746#FFFFFF#000000##FFFFFF
##8A17461.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)
#353A47
Deuteranopia (green-blind)
#535043
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1746;
/* rgb */ color: rgb(138, 23, 70);
/* oklch */ color: oklch(42.1% 0.152 2.5);
Tailwind
colors: {
  custom: {
    50: '#b26279',
    500: '#8a1746',
    950: '#000000',
  },
}
SCSS
$custom: #8a1746;
$custom-light: #b26279;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1746",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 70
  },
  "hsl": {
    "h": 335.478,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42113,
    "c": 0.152,
    "h": 2.5
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#8A1746
secondary
#3FBE8A
accent
#EEA43A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1746

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

Preview Lab → · Contrast checker → · Palette generator →

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