#8D236F#8D236F

#8D236F is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.162 H 341.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8D236F
RGBrgb(141, 35, 111)
HSLhsl(317, 60%, 35%)
HSVhsv(317, 75%, 55%)
CMYKcmyk(0%, 75.2%, 21.3%, 44.7%)
CIE-LABlab(34.01, 51.32, -18.92)
CIE-LCHlch(34.01, 54.70, 339.76°)
OKLaboklab(45.26% 0.1539 -0.0508)
OKLCHoklch(45.26% 0.162 341.7)
XYZxyz(14.4552, 8.0139, 15.8214)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D236F #238D41
analogous
#76238D #8D236F #8D233A
triadic
#8D236F #6F8D23 #236F8D
tetradic
#8D236F #8D7623 #238D41 #233A8D
square
#8D236F #8D7623 #238D41 #233A8D
split-complementary
#8D236F #3A8D23 #238D76
monochromatic
#2B0B22 #5C1748 #8D236F #BE2F96 #D555B1

Accessibility & contrast

On white

8.07
#8D236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D236F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D236F#FFFFFF#000000##FFFFFF
##8D236F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#4E566D
Tritanopia (blue-blind)
#962546
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d236f;
/* rgb */ color: rgb(141, 35, 111);
/* oklch */ color: oklch(45.3% 0.162 341.7);
Tailwind
colors: {
  custom: {
    50: '#b26998',
    500: '#8d236f',
    950: '#000000',
  },
}
SCSS
$custom: #8d236f;
$custom-light: #b26998;
$custom-dark: #000000;
JSON
{
  "hex": "#8d236f",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 316.981,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45261,
    "c": 0.1621,
    "h": 341.7
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#8D236F
secondary
#53B970
accent
#E37144
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D236F

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

Preview Lab → · Contrast checker → · Palette generator →

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