#8A1851#8A1851

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

Color values

HEX#8A1851
RGBrgb(138, 24, 81)
HSLhsl(330, 70%, 32%)
HSVhsv(330, 83%, 54%)
CMYKcmyk(0%, 82.6%, 41.3%, 45.9%)
CIE-LABlab(31.00, 50.27, -4.17)
CIE-LCHlch(31.00, 50.44, 355.26°)
OKLaboklab(42.57% 0.1547 -0.0103)
OKLCHoklch(42.57% 0.155 356.2)
XYZxyz(12.2940, 6.6522, 8.4196)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1851 #188A51
analogous
#8A188A #8A1851 #8A1818
triadic
#8A1851 #518A18 #18518A
tetradic
#8A1851 #8A8A18 #188A51 #18188A
square
#8A1851 #8A8A18 #188A51 #18188A
split-complementary
#8A1851 #188A18 #188A8A
monochromatic
#220614 #560F32 #8A1851 #BE2170 #DE3F8E

Accessibility & contrast

On white

9.01
#8A1851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1851
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1851#FFFFFF#000000##FFFFFF
##8A18511.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B52
Deuteranopia (green-blind)
#51504E
Tritanopia (blue-blind)
#960233
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1851;
/* rgb */ color: rgb(138, 24, 81);
/* oklch */ color: oklch(42.6% 0.155 356.2);
Tailwind
colors: {
  custom: {
    50: '#b16381',
    500: '#8a1851',
    950: '#000000',
  },
}
SCSS
$custom: #8a1851;
$custom-light: #b16381;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1851",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 81
  },
  "hsl": {
    "h": 330,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42565,
    "c": 0.15506,
    "h": 356.2
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

primary
#8A1851
secondary
#40BD7F
accent
#ED943B
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1851

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

Preview Lab → · Contrast checker → · Palette generator →

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