#8A1952#8A1952

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

Color values

HEX#8A1952
RGBrgb(138, 25, 82)
HSLhsl(330, 69%, 32%)
HSVhsv(330, 82%, 54%)
CMYKcmyk(0%, 81.9%, 40.6%, 45.9%)
CIE-LABlab(31.14, 50.10, -4.63)
CIE-LCHlch(31.14, 50.31, 354.72°)
OKLaboklab(42.67% 0.1541 -0.0116)
OKLCHoklch(42.67% 0.155 355.7)
XYZxyz(12.3527, 6.7093, 8.6256)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1952 #198A51
analogous
#8A198A #8A1952 #8A1919
triadic
#8A1952 #528A19 #19528A
tetradic
#8A1952 #8A8A19 #198A51 #19198A
square
#8A1952 #8A8A19 #198A51 #19198A
split-complementary
#8A1952 #198A19 #198A8A
monochromatic
#220614 #561033 #8A1952 #BE2271 #DD418F

Accessibility & contrast

On white

8.97
#8A1952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8A1952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1952
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1952#FFFFFF#000000##FFFFFF
##8A19521.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1952;
/* rgb */ color: rgb(138, 25, 82);
/* oklch */ color: oklch(42.7% 0.155 355.7);
Tailwind
colors: {
  custom: {
    50: '#b16382',
    500: '#8a1952',
    950: '#000000',
  },
}
SCSS
$custom: #8a1952;
$custom-light: #b16382;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1952",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 329.735,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42674,
    "c": 0.15455,
    "h": 355.7
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#8A1952
secondary
#42BD7F
accent
#EC933C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1952

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

Preview Lab → · Contrast checker → · Palette generator →

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