#8B2A70#8B2A70

#8B2A70 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.153 H 340.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8B2A70
RGBrgb(139, 42, 112)
HSLhsl(317, 54%, 35%)
HSVhsv(317, 70%, 55%)
CMYKcmyk(0%, 69.8%, 19.4%, 45.5%)
CIE-LABlab(34.63, 48.31, -18.62)
CIE-LCHlch(34.63, 51.77, 338.92°)
OKLaboklab(45.66% 0.1441 -0.0501)
OKLCHoklch(45.66% 0.153 340.8)
XYZxyz(14.4004, 8.3161, 16.1729)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A70 #2A8B45
analogous
#752A8B #8B2A70 #8B2A3F
triadic
#8B2A70 #708B2A #2A708B
tetradic
#8B2A70 #8B752A #2A8B45 #2A3F8B
square
#8B2A70 #8B752A #2A8B45 #2A3F8B
split-complementary
#8B2A70 #3F8B2A #2A8B75
monochromatic
#2D0E24 #5C1C4A #8B2A70 #BA3896 #CF60B0

Accessibility & contrast

On white

7.89
#8B2A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8B2A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A70
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A70#FFFFFF#000000##FFFFFF
##8B2A701.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314772
Deuteranopia (green-blind)
#4F576E
Tritanopia (blue-blind)
#932C49
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2a70;
/* rgb */ color: rgb(139, 42, 112);
/* oklch */ color: oklch(45.7% 0.153 340.8);
Tailwind
colors: {
  custom: {
    50: '#b06c99',
    500: '#8b2a70',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a70;
$custom-light: #b06c99;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a70",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 316.701,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45659,
    "c": 0.15255,
    "h": 340.8
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#8B2A70
secondary
#5CB575
accent
#DD744B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2A70

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

Preview Lab → · Contrast checker → · Palette generator →

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