#8A2B6B#8A2B6B

#8A2B6B is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.147 H 343.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8A2B6B
RGBrgb(138, 43, 107)
HSLhsl(320, 52%, 35%)
HSVhsv(320, 69%, 54%)
CMYKcmyk(0%, 68.8%, 22.5%, 45.9%)
CIE-LABlab(34.38, 46.88, -15.85)
CIE-LCHlch(34.38, 49.49, 341.32°)
OKLaboklab(45.37% 0.1408 -0.0423)
OKLCHoklch(45.37% 0.147 343.3)
XYZxyz(13.9994, 8.1939, 14.7514)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B6B #2B8A4A
analogous
#792B8A #8A2B6B #8A2B3B
triadic
#8A2B6B #6B8A2B #2B6B8A
tetradic
#8A2B6B #8A792B #2B8A4A #2B3B8A
square
#8A2B6B #8A792B #2B8A4A #2B3B8A
split-complementary
#8A2B6B #3B8A2B #2B8A79
monochromatic
#2D0E23 #5B1C47 #8A2B6B #B93A8F #CE61AB

Accessibility & contrast

On white

7.96
#8A2B6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A2B6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B6B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B6B#FFFFFF#000000##FFFFFF
##8A2B6B1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476D
Deuteranopia (green-blind)
#505769
Tritanopia (blue-blind)
#932B47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2b6b;
/* rgb */ color: rgb(138, 43, 107);
/* oklch */ color: oklch(45.4% 0.147 343.3);
Tailwind
colors: {
  custom: {
    50: '#af6c95',
    500: '#8a2b6b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b6b;
$custom-light: #af6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b6b",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 107
  },
  "hsl": {
    "h": 319.579,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45371,
    "c": 0.14703,
    "h": 343.3
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#8A2B6B
secondary
#5DB479
accent
#DC7B4C
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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