#8D236B#8D236B

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

Color values

HEX#8D236B
RGBrgb(141, 35, 107)
HSLhsl(319, 60%, 35%)
HSVhsv(319, 75%, 55%)
CMYKcmyk(0%, 75.2%, 24.1%, 44.7%)
CIE-LABlab(33.83, 50.76, -16.65)
CIE-LCHlch(33.83, 53.43, 341.84°)
OKLaboklab(45.07% 0.1532 -0.0445)
OKLCHoklch(45.07% 0.16 343.8)
XYZxyz(14.2399, 7.9278, 14.6874)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D236B #238D45
analogous
#7A238D #8D236B #8D2336
triadic
#8D236B #6B8D23 #236B8D
tetradic
#8D236B #8D7A23 #238D45 #23368D
square
#8D236B #8D7A23 #238D45 #23368D
split-complementary
#8D236B #368D23 #238D7A
monochromatic
#2B0B21 #5C1746 #8D236B #BE2F90 #D555AC

Accessibility & contrast

On white

8.12
#8D236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D236B
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D236B#FFFFFF#000000##FFFFFF
##8D236B1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d236b;
/* rgb */ color: rgb(141, 35, 107);
/* oklch */ color: oklch(45.1% 0.160 343.8);
Tailwind
colors: {
  custom: {
    50: '#b26995',
    500: '#8d236b',
    950: '#000000',
  },
}
SCSS
$custom: #8d236b;
$custom-light: #b26995;
$custom-dark: #000000;
JSON
{
  "hex": "#8d236b",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 319.245,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45071,
    "c": 0.1595,
    "h": 343.8
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#8D236B
secondary
#53B974
accent
#E37744
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D236B

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

Preview Lab → · Contrast checker → · Palette generator →

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