#8D236E#8D236E

#8D236E is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.161 H 342.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8D236E
RGBrgb(141, 35, 110)
HSLhsl(318, 60%, 35%)
HSVhsv(318, 75%, 55%)
CMYKcmyk(0%, 75.2%, 22%, 44.7%)
CIE-LABlab(33.97, 51.18, -18.35)
CIE-LCHlch(33.97, 54.37, 340.27°)
OKLaboklab(45.21% 0.1537 -0.0492)
OKLCHoklch(45.21% 0.161 342.2)
XYZxyz(14.4005, 7.9920, 15.5331)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D236E #238D42
analogous
#77238D #8D236E #8D2339
triadic
#8D236E #6E8D23 #236E8D
tetradic
#8D236E #8D7723 #238D42 #23398D
square
#8D236E #8D7723 #238D42 #23398D
split-complementary
#8D236E #398D23 #238D77
monochromatic
#2B0B22 #5C1748 #8D236E #BE2F94 #D555B0

Accessibility & contrast

On white

8.08
#8D236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8D236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D236E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D236E#FFFFFF#000000##FFFFFF
##8D236E1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4570
Deuteranopia (green-blind)
#4E566C
Tritanopia (blue-blind)
#962445
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d236e;
/* rgb */ color: rgb(141, 35, 110);
/* oklch */ color: oklch(45.2% 0.161 342.2);
Tailwind
colors: {
  custom: {
    50: '#b26997',
    500: '#8d236e',
    950: '#000000',
  },
}
SCSS
$custom: #8d236e;
$custom-light: #b26997;
$custom-dark: #000000;
JSON
{
  "hex": "#8d236e",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 317.547,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45213,
    "c": 0.16144,
    "h": 342.2
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

primary
#8D236E
secondary
#53B971
accent
#E37344
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D236E

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

Preview Lab → · Contrast checker → · Palette generator →

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