#8D237A#8D237A

#8D237A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.170 H 336.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8D237A
RGBrgb(141, 35, 122)
HSLhsl(311, 60%, 35%)
HSVhsv(311, 75%, 55%)
CMYKcmyk(0%, 75.2%, 13.5%, 44.7%)
CIE-LABlab(34.54, 52.94, -25.03)
CIE-LCHlch(34.54, 58.56, 334.69°)
OKLaboklab(45.82% 0.1554 -0.0682)
OKLCHoklch(45.82% 0.17 336.3)
XYZxyz(15.0986, 8.2713, 19.2099)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D237A #238D36
analogous
#6B238D #8D237A #8D2345
triadic
#8D237A #7A8D23 #237A8D
tetradic
#8D237A #8D6B23 #238D36 #23458D
square
#8D237A #8D6B23 #238D36 #23458D
split-complementary
#8D237A #458D23 #238D6B
monochromatic
#2B0B25 #5C1750 #8D237A #BE2FA4 #D555BE

Accessibility & contrast

On white

7.91
#8D237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8D237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D237A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D237A#FFFFFF#000000##FFFFFF
##8D237A1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477C
Deuteranopia (green-blind)
#4A5777
Tritanopia (blue-blind)
#942A4C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d237a;
/* rgb */ color: rgb(141, 35, 122);
/* oklch */ color: oklch(45.8% 0.170 336.3);
Tailwind
colors: {
  custom: {
    50: '#b269a0',
    500: '#8d237a',
    950: '#000000',
  },
}
SCSS
$custom: #8d237a;
$custom-light: #b269a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d237a",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 310.755,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45816,
    "c": 0.16974,
    "h": 336.3
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#8D237A
secondary
#53B965
accent
#E36144
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8D237A

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

Preview Lab → · Contrast checker → · Palette generator →

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