#8B2A66#8B2A66

#8B2A66 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.146 H 346.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8B2A66
RGBrgb(139, 42, 102)
HSLhsl(323, 54%, 35%)
HSVhsv(323, 70%, 55%)
CMYKcmyk(0%, 69.8%, 26.6%, 45.5%)
CIE-LABlab(34.20, 46.88, -12.93)
CIE-LCHlch(34.20, 48.63, 344.58°)
OKLaboklab(45.2% 0.1419 -0.0342)
OKLCHoklch(45.2% 0.146 346.5)
XYZxyz(13.8743, 8.1056, 13.4017)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A66 #2A8B4F
analogous
#7F2A8B #8B2A66 #8B2A35
triadic
#8B2A66 #668B2A #2A668B
tetradic
#8B2A66 #8B7F2A #2A8B4F #2A358B
square
#8B2A66 #8B7F2A #2A8B4F #2A358B
split-complementary
#8B2A66 #358B2A #2A8B7F
monochromatic
#2D0E21 #5C1C44 #8B2A66 #BA3888 #CF60A5

Accessibility & contrast

On white

8.01
#8B2A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8B2A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A66
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A66#FFFFFF#000000##FFFFFF
##8B2A661.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364668
Deuteranopia (green-blind)
#525764
Tritanopia (blue-blind)
#952844
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b2a66;
/* rgb */ color: rgb(139, 42, 102);
/* oklch */ color: oklch(45.2% 0.146 346.5);
Tailwind
colors: {
  custom: {
    50: '#b06b91',
    500: '#8b2a66',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a66;
$custom-light: #b06b91;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a66",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 322.887,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45203,
    "c": 0.14599,
    "h": 346.5
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#8B2A66
secondary
#5CB57E
accent
#DD834B
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8B2A66

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

Preview Lab → · Contrast checker → · Palette generator →

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