#8A1951#8A1951

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

Color values

HEX#8A1951
RGBrgb(138, 25, 81)
HSLhsl(330, 69%, 32%)
HSVhsv(330, 82%, 54%)
CMYKcmyk(0%, 81.9%, 41.3%, 45.9%)
CIE-LABlab(31.10, 49.99, -4.02)
CIE-LCHlch(31.10, 50.15, 355.40°)
OKLaboklab(42.64% 0.1538 -0.01)
OKLCHoklch(42.64% 0.154 356.3)
XYZxyz(12.3150, 6.6942, 8.4266)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1951 #198A52
analogous
#8A198A #8A1951 #8A1919
triadic
#8A1951 #518A19 #19518A
tetradic
#8A1951 #8A8A19 #198A52 #19198A
square
#8A1951 #8A8A19 #198A52 #19198A
split-complementary
#8A1951 #198A19 #198A8A
monochromatic
#220614 #561033 #8A1951 #BE226F #DD418E

Accessibility & contrast

On white

8.98
#8A1951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1951
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1951#FFFFFF#000000##FFFFFF
##8A19511.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C52
Deuteranopia (green-blind)
#51514E
Tritanopia (blue-blind)
#960433
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1951;
/* rgb */ color: rgb(138, 25, 81);
/* oklch */ color: oklch(42.6% 0.154 356.3);
Tailwind
colors: {
  custom: {
    50: '#b16381',
    500: '#8a1951',
    950: '#000000',
  },
}
SCSS
$custom: #8a1951;
$custom-light: #b16381;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1951",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 81
  },
  "hsl": {
    "h": 330.265,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42637,
    "c": 0.15413,
    "h": 356.3
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#8A1951
secondary
#42BD80
accent
#EC953C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1951

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

Preview Lab → · Contrast checker → · Palette generator →

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