#8F236D#8F236D

#8F236D is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.162 H 343.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8F236D
RGBrgb(143, 35, 109)
HSLhsl(319, 61%, 35%)
HSVhsv(319, 76%, 56%)
CMYKcmyk(0%, 75.5%, 23.8%, 43.9%)
CIE-LABlab(34.29, 51.57, -17.19)
CIE-LCHlch(34.29, 54.36, 341.56°)
OKLaboklab(45.5% 0.1555 -0.046)
OKLCHoklch(45.5% 0.162 343.5)
XYZxyz(14.6896, 8.1474, 15.2640)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F236D #238F45
analogous
#7B238F #8F236D #8F2337
triadic
#8F236D #6D8F23 #236D8F
tetradic
#8F236D #8F7B23 #238F45 #23378F
square
#8F236D #8F7B23 #238F45 #23378F
split-complementary
#8F236D #378F23 #238F7B
monochromatic
#2D0B22 #5E1748 #8F236D #C02F92 #D657AE

Accessibility & contrast

On white

7.99
#8F236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F236D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F236D#FFFFFF#000000##FFFFFF
##8F236D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F456F
Deuteranopia (green-blind)
#50576B
Tritanopia (blue-blind)
#982345
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f236d;
/* rgb */ color: rgb(143, 35, 109);
/* oklch */ color: oklch(45.5% 0.162 343.5);
Tailwind
colors: {
  custom: {
    50: '#b36997',
    500: '#8f236d',
    950: '#000000',
  },
}
SCSS
$custom: #8f236d;
$custom-light: #b36997;
$custom-dark: #000000;
JSON
{
  "hex": "#8f236d",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 318.889,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.455,
    "c": 0.16217,
    "h": 343.5
  },
  "luminance": 0.08146
}

Semantic roles & 50–950 ramp

primary
#8F236D
secondary
#54BA74
accent
#E47644
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F236D

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

Preview Lab → · Contrast checker → · Palette generator →

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