#8F236F#8F236F

#8F236F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.163 H 342.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8F236F
RGBrgb(143, 35, 111)
HSLhsl(318, 61%, 35%)
HSVhsv(318, 76%, 56%)
CMYKcmyk(0%, 75.5%, 22.4%, 43.9%)
CIE-LABlab(34.38, 51.84, -18.32)
CIE-LCHlch(34.38, 54.99, 340.53°)
OKLaboklab(45.59% 0.1559 -0.0491)
OKLCHoklch(45.59% 0.163 342.5)
XYZxyz(14.7985, 8.1909, 15.8375)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F236F #238F43
analogous
#79238F #8F236F #8F2339
triadic
#8F236F #6F8F23 #236F8F
tetradic
#8F236F #8F7923 #238F43 #23398F
square
#8F236F #8F7923 #238F43 #23398F
split-complementary
#8F236F #398F23 #238F79
monochromatic
#2D0B23 #5E1749 #8F236F #C02F95 #D657B0

Accessibility & contrast

On white

7.96
#8F236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8F236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F236F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F236F#FFFFFF#000000##FFFFFF
##8F236F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4671
Deuteranopia (green-blind)
#4F576D
Tritanopia (blue-blind)
#982446
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f236f;
/* rgb */ color: rgb(143, 35, 111);
/* oklch */ color: oklch(45.6% 0.163 342.5);
Tailwind
colors: {
  custom: {
    50: '#b36998',
    500: '#8f236f',
    950: '#000000',
  },
}
SCSS
$custom: #8f236f;
$custom-light: #b36998;
$custom-dark: #000000;
JSON
{
  "hex": "#8f236f",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 317.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45594,
    "c": 0.16345,
    "h": 342.5
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#8F236F
secondary
#54BA72
accent
#E47344
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F236F

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

Preview Lab → · Contrast checker → · Palette generator →

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