#8A1843#8A1843

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

Color values

HEX#8A1843
RGBrgb(138, 24, 67)
HSLhsl(337, 70%, 32%)
HSVhsv(337, 83%, 54%)
CMYKcmyk(0%, 82.6%, 51.4%, 45.9%)
CIE-LABlab(30.55, 48.93, 4.44)
CIE-LCHlch(30.55, 49.13, 5.18°)
OKLaboklab(42.09% 0.1498 0.0118)
OKLCHoklch(42.09% 0.15 4.5)
XYZxyz(11.8220, 6.4635, 5.9342)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1843 #188A5F
analogous
#8A187C #8A1843 #8A2618
triadic
#8A1843 #438A18 #18438A
tetradic
#8A1843 #7C8A18 #188A5F #26188A
square
#8A1843 #7C8A18 #188A5F #26188A
split-complementary
#8A1843 #188A26 #187C8A
monochromatic
#220610 #560F2A #8A1843 #BE215C #DE3F7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1843#FFFFFF#000000##FFFFFF
##8A18431.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)
#363A44
Deuteranopia (green-blind)
#545040
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1843;
/* rgb */ color: rgb(138, 24, 67);
/* oklch */ color: oklch(42.1% 0.150 4.5);
Tailwind
colors: {
  custom: {
    50: '#b26376',
    500: '#8a1843',
    950: '#000000',
  },
}
SCSS
$custom: #8a1843;
$custom-light: #b26376;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1843",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 67
  },
  "hsl": {
    "h": 337.368,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4209,
    "c": 0.15029,
    "h": 4.5
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#8A1843
secondary
#40BD8E
accent
#EDAA3B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1843

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

Preview Lab → · Contrast checker → · Palette generator →

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