#8A2851#8A2851

#8A2851 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.0% C 0.137 H 358.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8A2851
RGBrgb(138, 40, 81)
HSLhsl(335, 55%, 35%)
HSVhsv(335, 71%, 54%)
CMYKcmyk(0%, 71%, 41.3%, 45.9%)
CIE-LABlab(32.95, 44.78, -1.28)
CIE-LCHlch(32.95, 44.80, 358.36°)
OKLaboklab(44% 0.1372 -0.0028)
OKLCHoklch(44% 0.137 358.8)
XYZxyz(12.7261, 7.5165, 8.5636)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2851 #288A61
analogous
#8A2882 #8A2851 #8A3028
triadic
#8A2851 #518A28 #28518A
tetradic
#8A2851 #828A28 #288A61 #30288A
square
#8A2851 #828A28 #288A61 #30288A
split-complementary
#8A2851 #288A30 #28828A
monochromatic
#2B0C19 #5B1A35 #8A2851 #B9366D #D05D8D

Accessibility & contrast

On white

8.39
#8A2851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A2851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2851
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2851#FFFFFF#000000##FFFFFF
##8A28511.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4252
Deuteranopia (green-blind)
#56544F
Tritanopia (blue-blind)
#951D39
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2851;
/* rgb */ color: rgb(138, 40, 81);
/* oklch */ color: oklch(44.0% 0.137 358.8);
Tailwind
colors: {
  custom: {
    50: '#b06a81',
    500: '#8a2851',
    950: '#000000',
  },
}
SCSS
$custom: #8a2851;
$custom-light: #b06a81;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2851",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 81
  },
  "hsl": {
    "h": 334.898,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43999,
    "c": 0.13724,
    "h": 358.8
  },
  "luminance": 0.07515
}

Semantic roles & 50–950 ramp

primary
#8A2851
secondary
#59B58E
accent
#DEA049
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2851

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

Preview Lab → · Contrast checker → · Palette generator →

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