#8A1845#8A1845

#8A1845 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.151 H 3.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#8A1845
RGBrgb(138, 24, 69)
HSLhsl(336, 70%, 32%)
HSVhsv(336, 83%, 54%)
CMYKcmyk(0%, 82.6%, 50%, 45.9%)
CIE-LABlab(30.61, 49.10, 3.19)
CIE-LCHlch(30.61, 49.21, 3.72°)
OKLaboklab(42.15% 0.1506 0.0087)
OKLCHoklch(42.15% 0.151 3.3)
XYZxyz(11.8831, 6.4879, 6.2556)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1845 #188A5D
analogous
#8A187E #8A1845 #8A2418
triadic
#8A1845 #458A18 #18458A
tetradic
#8A1845 #7E8A18 #188A5D #24188A
square
#8A1845 #7E8A18 #188A5D #24188A
split-complementary
#8A1845 #188A24 #187E8A
monochromatic
#220611 #560F2B #8A1845 #BE215F #DE3F7D

Accessibility & contrast

On white

9.14
#8A1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8A1845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1845
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1845#FFFFFF#000000##FFFFFF
##8A18451.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1845;
/* rgb */ color: rgb(138, 24, 69);
/* oklch */ color: oklch(42.2% 0.151 3.3);
Tailwind
colors: {
  custom: {
    50: '#b26378',
    500: '#8a1845',
    950: '#000000',
  },
}
SCSS
$custom: #8a1845;
$custom-light: #b26378;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1845",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 336.316,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42152,
    "c": 0.15084,
    "h": 3.3
  },
  "luminance": 0.06486
}

Semantic roles & 50–950 ramp

primary
#8A1845
secondary
#40BD8C
accent
#EDA73B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1845

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

Preview Lab → · Contrast checker → · Palette generator →

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