#8A1874#8A1874

#8A1874 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.2% C 0.175 H 337.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8A1874
RGBrgb(138, 24, 116)
HSLhsl(312, 70%, 32%)
HSVhsv(312, 83%, 54%)
CMYKcmyk(0%, 82.6%, 15.9%, 45.9%)
CIE-LABlab(32.52, 54.66, -24.45)
CIE-LCHlch(32.52, 59.88, 335.90°)
OKLaboklab(44.16% 0.1618 -0.0665)
OKLCHoklch(44.16% 0.175 337.7)
XYZxyz(13.9606, 7.3189, 17.1971)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1874 #188A2E
analogous
#67188A #8A1874 #8A183B
triadic
#8A1874 #748A18 #18748A
tetradic
#8A1874 #8A6718 #188A2E #183B8A
square
#8A1874 #8A6718 #188A2E #183B8A
split-complementary
#8A1874 #3B8A18 #188A67
monochromatic
#22061C #560F48 #8A1874 #BE21A0 #DE3FBF

Accessibility & contrast

On white

8.52
#8A1874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A1874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1874
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1874#FFFFFF#000000##FFFFFF
##8A18741.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4176
Deuteranopia (green-blind)
#465371
Tritanopia (blue-blind)
#922046
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1874;
/* rgb */ color: rgb(138, 24, 116);
/* oklch */ color: oklch(44.2% 0.175 337.7);
Tailwind
colors: {
  custom: {
    50: '#b0649c',
    500: '#8a1874',
    950: '#000000',
  },
}
SCSS
$custom: #8a1874;
$custom-light: #b0649c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1874",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 311.579,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.17495,
    "h": 337.7
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#8A1874
secondary
#40BD59
accent
#ED5D3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1874

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

Preview Lab → · Contrast checker → · Palette generator →

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