#8B236E#8B236E

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

Color values

HEX#8B236E
RGBrgb(139, 35, 110)
HSLhsl(317, 60%, 34%)
HSVhsv(317, 75%, 55%)
CMYKcmyk(0%, 74.8%, 20.9%, 45.5%)
CIE-LABlab(33.60, 50.66, -18.95)
CIE-LCHlch(33.60, 54.09, 339.49°)
OKLaboklab(44.88% 0.1518 -0.0509)
OKLCHoklch(44.88% 0.16 341.4)
XYZxyz(14.0634, 7.8182, 15.5173)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B236E #238B40
analogous
#74238B #8B236E #8B233A
triadic
#8B236E #6E8B23 #236E8B
tetradic
#8B236E #8B7423 #238B40 #233A8B
square
#8B236E #8B7423 #238B40 #233A8B
split-complementary
#8B236E #3A8B23 #238B74
monochromatic
#290A21 #5A1747 #8B236E #BC2F95 #D454B0

Accessibility & contrast

On white

8.19
#8B236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8B236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B236E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B236E#FFFFFF#000000##FFFFFF
##8B236E1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4470
Deuteranopia (green-blind)
#4D556C
Tritanopia (blue-blind)
#942545
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b236e;
/* rgb */ color: rgb(139, 35, 110);
/* oklch */ color: oklch(44.9% 0.160 341.4);
Tailwind
colors: {
  custom: {
    50: '#b06897',
    500: '#8b236e',
    950: '#000000',
  },
}
SCSS
$custom: #8b236e;
$custom-light: #b06897;
$custom-dark: #000000;
JSON
{
  "hex": "#8b236e",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 316.731,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44879,
    "c": 0.16008,
    "h": 341.4
  },
  "luminance": 0.07817
}

Semantic roles & 50–950 ramp

primary
#8B236E
secondary
#52B86E
accent
#E37145
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B236E

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

Preview Lab → · Contrast checker → · Palette generator →

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