#8B236B#8B236B

#8B236B is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.158 H 343.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8B236B
RGBrgb(139, 35, 107)
HSLhsl(318, 60%, 34%)
HSVhsv(318, 75%, 55%)
CMYKcmyk(0%, 74.8%, 23%, 45.5%)
CIE-LABlab(33.47, 50.23, -17.25)
CIE-LCHlch(33.47, 53.11, 341.05°)
OKLaboklab(44.74% 0.1512 -0.0462)
OKLCHoklch(44.74% 0.158 343)
XYZxyz(13.9028, 7.7540, 14.6716)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B236B #238B43
analogous
#77238B #8B236B #8B2337
triadic
#8B236B #6B8B23 #236B8B
tetradic
#8B236B #8B7723 #238B43 #23378B
square
#8B236B #8B7723 #238B43 #23378B
split-complementary
#8B236B #378B23 #238B77
monochromatic
#290A20 #5A1745 #8B236B #BC2F91 #D454AD

Accessibility & contrast

On white

8.23
#8B236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B236B
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B236B#FFFFFF#000000##FFFFFF
##8B236B1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E446D
Deuteranopia (green-blind)
#4E5569
Tritanopia (blue-blind)
#942344
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b236b;
/* rgb */ color: rgb(139, 35, 107);
/* oklch */ color: oklch(44.7% 0.158 343.0);
Tailwind
colors: {
  custom: {
    50: '#b06895',
    500: '#8b236b',
    950: '#000000',
  },
}
SCSS
$custom: #8b236b;
$custom-light: #b06895;
$custom-dark: #000000;
JSON
{
  "hex": "#8b236b",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 318.462,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44736,
    "c": 0.15811,
    "h": 343
  },
  "luminance": 0.07753
}

Semantic roles & 50–950 ramp

primary
#8B236B
secondary
#52B871
accent
#E37645
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B236B

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

Preview Lab → · Contrast checker → · Palette generator →

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