#8B2A6B#8B2A6B

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

Color values

HEX#8B2A6B
RGBrgb(139, 42, 107)
HSLhsl(320, 54%, 35%)
HSVhsv(320, 70%, 55%)
CMYKcmyk(0%, 69.8%, 23%, 45.5%)
CIE-LABlab(34.41, 47.58, -15.79)
CIE-LCHlch(34.41, 50.13, 341.64°)
OKLaboklab(45.43% 0.1431 -0.0421)
OKLCHoklch(45.43% 0.149 343.6)
XYZxyz(14.1297, 8.2078, 14.7472)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A6B #2A8B4A
analogous
#7A2A8B #8B2A6B #8B2A3A
triadic
#8B2A6B #6B8B2A #2A6B8B
tetradic
#8B2A6B #8B7A2A #2A8B4A #2A3A8B
square
#8B2A6B #8B7A2A #2A8B4A #2A3A8B
split-complementary
#8B2A6B #3A8B2A #2A8B7A
monochromatic
#2D0E23 #5C1C47 #8B2A6B #BA388F #CF60AB

Accessibility & contrast

On white

7.95
#8B2A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2A6B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A6B#FFFFFF#000000##FFFFFF
##8B2A6B1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476D
Deuteranopia (green-blind)
#505769
Tritanopia (blue-blind)
#942A46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2a6b;
/* rgb */ color: rgb(139, 42, 107);
/* oklch */ color: oklch(45.4% 0.149 343.6);
Tailwind
colors: {
  custom: {
    50: '#b06c95',
    500: '#8b2a6b',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a6b;
$custom-light: #b06c95;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a6b",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 319.794,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45426,
    "c": 0.14917,
    "h": 343.6
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

primary
#8B2A6B
secondary
#5CB579
accent
#DD7B4B
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B2A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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