#8A184F#8A184F

#8A184F is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.154 H 357.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8A184F
RGBrgb(138, 24, 79)
HSLhsl(331, 70%, 32%)
HSVhsv(331, 83%, 54%)
CMYKcmyk(0%, 82.6%, 42.8%, 45.9%)
CIE-LABlab(30.93, 50.06, -2.96)
CIE-LCHlch(30.93, 50.15, 356.62°)
OKLaboklab(42.49% 0.1541 -0.0071)
OKLCHoklch(42.49% 0.154 357.3)
XYZxyz(12.2201, 6.6227, 8.0304)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A184F #188A53
analogous
#8A1888 #8A184F #8A1A18
triadic
#8A184F #4F8A18 #184F8A
tetradic
#8A184F #888A18 #188A53 #1A188A
square
#8A184F #888A18 #188A53 #1A188A
split-complementary
#8A184F #188A1A #18888A
monochromatic
#220613 #560F31 #8A184F #BE216D #DE3F8B

Accessibility & contrast

On white

9.04
#8A184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8A184F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A184F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A184F#FFFFFF#000000##FFFFFF
##8A184F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B50
Deuteranopia (green-blind)
#52504C
Tritanopia (blue-blind)
#960031
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a184f;
/* rgb */ color: rgb(138, 24, 79);
/* oklch */ color: oklch(42.5% 0.154 357.3);
Tailwind
colors: {
  custom: {
    50: '#b16380',
    500: '#8a184f',
    950: '#000000',
  },
}
SCSS
$custom: #8a184f;
$custom-light: #b16380;
$custom-dark: #000000;
JSON
{
  "hex": "#8a184f",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 331.053,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42491,
    "c": 0.15425,
    "h": 357.3
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#8A184F
secondary
#40BD81
accent
#ED973B
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8A184F

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

Preview Lab → · Contrast checker → · Palette generator →

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