#8A2B6A#8A2B6A

#8A2B6A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.146 H 343.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8A2B6A
RGBrgb(138, 43, 106)
HSLhsl(320, 52%, 35%)
HSVhsv(320, 69%, 54%)
CMYKcmyk(0%, 68.8%, 23.2%, 45.9%)
CIE-LABlab(34.34, 46.74, -15.28)
CIE-LCHlch(34.34, 49.17, 341.89°)
OKLaboklab(45.33% 0.1406 -0.0407)
OKLCHoklch(45.33% 0.146 343.8)
XYZxyz(13.9471, 8.1730, 14.4759)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B6A #2B8A4B
analogous
#7A2B8A #8A2B6A #8A2B3A
triadic
#8A2B6A #6A8A2B #2B6A8A
tetradic
#8A2B6A #8A7A2B #2B8A4B #2B3A8A
square
#8A2B6A #8A7A2B #2B8A4B #2B3A8A
split-complementary
#8A2B6A #3A8A2B #2B8A7A
monochromatic
#2D0E22 #5B1C46 #8A2B6A #B93A8E #CE61A9

Accessibility & contrast

On white

7.97
#8A2B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A2B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B6A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B6A#FFFFFF#000000##FFFFFF
##8A2B6A1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476C
Deuteranopia (green-blind)
#515768
Tritanopia (blue-blind)
#932B46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2b6a;
/* rgb */ color: rgb(138, 43, 106);
/* oklch */ color: oklch(45.3% 0.146 343.8);
Tailwind
colors: {
  custom: {
    50: '#af6c94',
    500: '#8a2b6a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b6a;
$custom-light: #af6c94;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b6a",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 320.211,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45326,
    "c": 0.14637,
    "h": 343.8
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#8A2B6A
secondary
#5DB47A
accent
#DC7C4C
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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