#8A1745#8A1745

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

Color values

HEX#8A1745
RGBrgb(138, 23, 69)
HSLhsl(336, 71%, 32%)
HSVhsv(336, 83%, 54%)
CMYKcmyk(0%, 83.3%, 50%, 45.9%)
CIE-LABlab(30.51, 49.38, 3.05)
CIE-LCHlch(30.51, 49.47, 3.54°)
OKLaboklab(42.08% 0.1515 0.0083)
OKLCHoklch(42.08% 0.152 3.1)
XYZxyz(11.8628, 6.4474, 6.2489)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1745 #178A5C
analogous
#8A177F #8A1745 #8A2317
triadic
#8A1745 #458A17 #17458A
tetradic
#8A1745 #7F8A17 #178A5C #23178A
square
#8A1745 #7F8A17 #178A5C #23178A
split-complementary
#8A1745 #178A23 #177F8A
monochromatic
#210611 #560E2B #8A1745 #BE205F #DF3D7E

Accessibility & contrast

On white

9.17
#8A1745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1745
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1745#FFFFFF#000000##FFFFFF
##8A17451.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A46
Deuteranopia (green-blind)
#535042
Tritanopia (blue-blind)
#97002C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1745;
/* rgb */ color: rgb(138, 23, 69);
/* oklch */ color: oklch(42.1% 0.152 3.1);
Tailwind
colors: {
  custom: {
    50: '#b26278',
    500: '#8a1745',
    950: '#000000',
  },
}
SCSS
$custom: #8a1745;
$custom-light: #b26278;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1745",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 69
  },
  "hsl": {
    "h": 336,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42081,
    "c": 0.15171,
    "h": 3.1
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#8A1745
secondary
#3FBE8B
accent
#EEA63A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1745

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

Preview Lab → · Contrast checker → · Palette generator →

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