#8B236F#8B236F

#8B236F is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.161 H 340.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8B236F
RGBrgb(139, 35, 111)
HSLhsl(316, 60%, 34%)
HSVhsv(316, 75%, 55%)
CMYKcmyk(0%, 74.8%, 20.1%, 45.5%)
CIE-LABlab(33.65, 50.80, -19.51)
CIE-LCHlch(33.65, 54.42, 338.99°)
OKLaboklab(44.93% 0.1519 -0.0525)
OKLCHoklch(44.93% 0.161 340.9)
XYZxyz(14.1182, 7.8401, 15.8056)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B236F #238B3F
analogous
#73238B #8B236F #8B233B
triadic
#8B236F #6F8B23 #236F8B
tetradic
#8B236F #8B7323 #238B3F #233B8B
square
#8B236F #8B7323 #238B3F #233B8B
split-complementary
#8B236F #3B8B23 #238B73
monochromatic
#290A21 #5A1748 #8B236F #BC2F96 #D454B2

Accessibility & contrast

On white

8.18
#8B236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8B236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B236F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B236F#FFFFFF#000000##FFFFFF
##8B236F1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4471
Deuteranopia (green-blind)
#4C556D
Tritanopia (blue-blind)
#942546
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b236f;
/* rgb */ color: rgb(139, 35, 111);
/* oklch */ color: oklch(44.9% 0.161 340.9);
Tailwind
colors: {
  custom: {
    50: '#b06998',
    500: '#8b236f',
    950: '#000000',
  },
}
SCSS
$custom: #8b236f;
$custom-light: #b06998;
$custom-dark: #000000;
JSON
{
  "hex": "#8b236f",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 316.154,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.16076,
    "h": 340.9
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#8B236F
secondary
#52B86D
accent
#E36F45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B236F

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

Preview Lab → · Contrast checker → · Palette generator →

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