#8A1852#8A1852

#8A1852 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.155 H 355.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#8A1852
RGBrgb(138, 24, 82)
HSLhsl(329, 70%, 32%)
HSVhsv(329, 83%, 54%)
CMYKcmyk(0%, 82.6%, 40.6%, 45.9%)
CIE-LABlab(31.04, 50.38, -4.77)
CIE-LCHlch(31.04, 50.60, 354.59°)
OKLaboklab(42.6% 0.155 -0.0119)
OKLCHoklch(42.6% 0.155 355.6)
XYZxyz(12.3317, 6.6673, 8.6186)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1852 #188A50
analogous
#89188A #8A1852 #8A1819
triadic
#8A1852 #528A18 #18528A
tetradic
#8A1852 #8A8918 #188A50 #18198A
square
#8A1852 #8A8918 #188A50 #18198A
split-complementary
#8A1852 #198A18 #188A89
monochromatic
#220614 #560F33 #8A1852 #BE2171 #DE3F90

Accessibility & contrast

On white

9.00
#8A1852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A1852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1852
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1852#FFFFFF#000000##FFFFFF
##8A18521.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C53
Deuteranopia (green-blind)
#51514F
Tritanopia (blue-blind)
#960333
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1852;
/* rgb */ color: rgb(138, 24, 82);
/* oklch */ color: oklch(42.6% 0.155 355.6);
Tailwind
colors: {
  custom: {
    50: '#b16382',
    500: '#8a1852',
    950: '#000000',
  },
}
SCSS
$custom: #8a1852;
$custom-light: #b16382;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1852",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 329.474,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42603,
    "c": 0.15548,
    "h": 355.6
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#8A1852
secondary
#40BD7E
accent
#ED923B
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1852

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

Preview Lab → · Contrast checker → · Palette generator →

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