#8A2B6D#8A2B6D

#8A2B6D is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.148 H 342.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8A2B6D
RGBrgb(138, 43, 109)
HSLhsl(318, 52%, 35%)
HSVhsv(318, 69%, 54%)
CMYKcmyk(0%, 68.8%, 21%, 45.9%)
CIE-LABlab(34.47, 47.18, -16.99)
CIE-LCHlch(34.47, 50.14, 340.20°)
OKLaboklab(45.46% 0.1412 -0.0455)
OKLCHoklch(45.46% 0.148 342.1)
XYZxyz(14.1058, 8.2365, 15.3119)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B6D #2B8A48
analogous
#772B8A #8A2B6D #8A2B3D
triadic
#8A2B6D #6D8A2B #2B6D8A
tetradic
#8A2B6D #8A772B #2B8A48 #2B3D8A
square
#8A2B6D #8A772B #2B8A48 #2B3D8A
split-complementary
#8A2B6D #3D8A2B #2B8A77
monochromatic
#2D0E23 #5B1C48 #8A2B6D #B93A92 #CE61AD

Accessibility & contrast

On white

7.93
#8A2B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A2B6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B6D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B6D#FFFFFF#000000##FFFFFF
##8A2B6D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476F
Deuteranopia (green-blind)
#50576B
Tritanopia (blue-blind)
#932C48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2b6d;
/* rgb */ color: rgb(138, 43, 109);
/* oklch */ color: oklch(45.5% 0.148 342.1);
Tailwind
colors: {
  custom: {
    50: '#af6c97',
    500: '#8a2b6d',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b6d;
$custom-light: #af6c97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b6d",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 109
  },
  "hsl": {
    "h": 318.316,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45464,
    "c": 0.14838,
    "h": 342.1
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#8A2B6D
secondary
#5DB477
accent
#DC784C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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