#8D236C#8D236C

#8D236C is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.160 H 343.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8D236C
RGBrgb(141, 35, 108)
HSLhsl(319, 60%, 35%)
HSVhsv(319, 75%, 55%)
CMYKcmyk(0%, 75.2%, 23.4%, 44.7%)
CIE-LABlab(33.88, 50.90, -17.22)
CIE-LCHlch(33.88, 53.74, 341.31°)
OKLaboklab(45.12% 0.1534 -0.0461)
OKLCHoklch(45.12% 0.16 343.3)
XYZxyz(14.2928, 7.9490, 14.9660)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D236C #238D44
analogous
#79238D #8D236C #8D2337
triadic
#8D236C #6C8D23 #236C8D
tetradic
#8D236C #8D7923 #238D44 #23378D
square
#8D236C #8D7923 #238D44 #23378D
split-complementary
#8D236C #378D23 #238D79
monochromatic
#2B0B21 #5C1746 #8D236C #BE2F92 #D555AD

Accessibility & contrast

On white

8.11
#8D236C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8D236C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D236C
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D236C#FFFFFF#000000##FFFFFF
##8D236C1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E446E
Deuteranopia (green-blind)
#4F566A
Tritanopia (blue-blind)
#962344
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d236c;
/* rgb */ color: rgb(141, 35, 108);
/* oklch */ color: oklch(45.1% 0.160 343.3);
Tailwind
colors: {
  custom: {
    50: '#b26996',
    500: '#8d236c',
    950: '#000000',
  },
}
SCSS
$custom: #8d236c;
$custom-light: #b26996;
$custom-dark: #000000;
JSON
{
  "hex": "#8d236c",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 318.679,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45118,
    "c": 0.16015,
    "h": 343.3
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#8D236C
secondary
#53B973
accent
#E37644
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D236C

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

Preview Lab → · Contrast checker → · Palette generator →

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