#8B2A73#8B2A73

#8B2A73 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.155 H 339.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8B2A73
RGBrgb(139, 42, 115)
HSLhsl(315, 54%, 35%)
HSVhsv(315, 70%, 55%)
CMYKcmyk(0%, 69.8%, 17.3%, 45.5%)
CIE-LABlab(34.77, 48.76, -20.30)
CIE-LCHlch(34.77, 52.82, 337.40°)
OKLaboklab(45.8% 0.1446 -0.0548)
OKLCHoklch(45.8% 0.155 339.2)
XYZxyz(14.5703, 8.3840, 17.0673)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A73 #2A8B42
analogous
#722A8B #8B2A73 #8B2A43
triadic
#8B2A73 #738B2A #2A738B
tetradic
#8B2A73 #8B722A #2A8B42 #2A438B
square
#8B2A73 #8B722A #2A8B42 #2A438B
split-complementary
#8B2A73 #438B2A #2A8B72
monochromatic
#2D0E25 #5C1C4C #8B2A73 #BA389A #CF60B4

Accessibility & contrast

On white

7.85
#8B2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8B2A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A73
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A73#FFFFFF#000000##FFFFFF
##8B2A731.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4875
Deuteranopia (green-blind)
#4E5771
Tritanopia (blue-blind)
#932D4A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b2a73;
/* rgb */ color: rgb(139, 42, 115);
/* oklch */ color: oklch(45.8% 0.155 339.2);
Tailwind
colors: {
  custom: {
    50: '#b06c9b',
    500: '#8b2a73',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a73;
$custom-light: #b06c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a73",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 314.845,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45804,
    "c": 0.15468,
    "h": 339.2
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#8B2A73
secondary
#5CB572
accent
#DD6F4B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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