#8B236A#8B236A

#8B236A is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.7% C 0.157 H 343.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8B236A
RGBrgb(139, 35, 106)
HSLhsl(319, 60%, 34%)
HSVhsv(319, 75%, 55%)
CMYKcmyk(0%, 74.8%, 23.7%, 45.5%)
CIE-LABlab(33.42, 50.09, -16.68)
CIE-LCHlch(33.42, 52.80, 341.58°)
OKLaboklab(44.69% 0.151 -0.0446)
OKLCHoklch(44.69% 0.157 343.6)
XYZxyz(13.8505, 7.7331, 14.3961)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B236A #238B44
analogous
#78238B #8B236A #8B2336
triadic
#8B236A #6A8B23 #236A8B
tetradic
#8B236A #8B7823 #238B44 #23368B
square
#8B236A #8B7823 #238B44 #23368B
split-complementary
#8B236A #368B23 #238B78
monochromatic
#290A1F #5A1745 #8B236A #BC2F8F #D454AC

Accessibility & contrast

On white

8.25
#8B236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8B236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B236A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B236A#FFFFFF#000000##FFFFFF
##8B236A1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E446C
Deuteranopia (green-blind)
#4E5568
Tritanopia (blue-blind)
#942343
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b236a;
/* rgb */ color: rgb(139, 35, 106);
/* oklch */ color: oklch(44.7% 0.157 343.6);
Tailwind
colors: {
  custom: {
    50: '#b06894',
    500: '#8b236a',
    950: '#000000',
  },
}
SCSS
$custom: #8b236a;
$custom-light: #b06894;
$custom-dark: #000000;
JSON
{
  "hex": "#8b236a",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 319.038,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44689,
    "c": 0.15747,
    "h": 343.6
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#8B236A
secondary
#52B872
accent
#E37745
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B236A

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

Preview Lab → · Contrast checker → · Palette generator →

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