#8B236C#8B236C

#8B236C is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.159 H 342.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8B236C
RGBrgb(139, 35, 108)
HSLhsl(318, 60%, 34%)
HSVhsv(318, 75%, 55%)
CMYKcmyk(0%, 74.8%, 22.3%, 45.5%)
CIE-LABlab(33.51, 50.37, -17.82)
CIE-LCHlch(33.51, 53.43, 340.52°)
OKLaboklab(44.78% 0.1514 -0.0478)
OKLCHoklch(44.78% 0.159 342.5)
XYZxyz(13.9557, 7.7752, 14.9502)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B236C #238B42
analogous
#76238B #8B236C #8B2338
triadic
#8B236C #6C8B23 #236C8B
tetradic
#8B236C #8B7623 #238B42 #23388B
square
#8B236C #8B7623 #238B42 #23388B
split-complementary
#8B236C #388B23 #238B76
monochromatic
#290A20 #5A1746 #8B236C #BC2F92 #D454AE

Accessibility & contrast

On white

8.22
#8B236C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B236C
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B236C#FFFFFF#000000##FFFFFF
##8B236C1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446E
Deuteranopia (green-blind)
#4D556A
Tritanopia (blue-blind)
#942444
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b236c;
/* rgb */ color: rgb(139, 35, 108);
/* oklch */ color: oklch(44.8% 0.159 342.5);
Tailwind
colors: {
  custom: {
    50: '#b06896',
    500: '#8b236c',
    950: '#000000',
  },
}
SCSS
$custom: #8b236c;
$custom-light: #b06896;
$custom-dark: #000000;
JSON
{
  "hex": "#8b236c",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 317.885,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44783,
    "c": 0.15877,
    "h": 342.5
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#8B236C
secondary
#52B870
accent
#E37445
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B236C

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

Preview Lab → · Contrast checker → · Palette generator →

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