#8F236B#8F236B

#8F236B is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.161 H 344.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8F236B
RGBrgb(143, 35, 107)
HSLhsl(320, 61%, 35%)
HSVhsv(320, 76%, 56%)
CMYKcmyk(0%, 75.5%, 25.2%, 43.9%)
CIE-LABlab(34.20, 51.30, -16.06)
CIE-LCHlch(34.20, 53.75, 342.62°)
OKLaboklab(45.41% 0.1551 -0.0428)
OKLCHoklch(45.41% 0.161 344.6)
XYZxyz(14.5832, 8.1048, 14.7035)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F236B #238F47
analogous
#7D238F #8F236B #8F2335
triadic
#8F236B #6B8F23 #236B8F
tetradic
#8F236B #8F7D23 #238F47 #23358F
square
#8F236B #8F7D23 #238F47 #23358F
split-complementary
#8F236B #358F23 #238F7D
monochromatic
#2D0B21 #5E1746 #8F236B #C02F90 #D657AB

Accessibility & contrast

On white

8.01
#8F236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8F236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F236B
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F236B#FFFFFF#000000##FFFFFF
##8F236B1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456D
Deuteranopia (green-blind)
#515769
Tritanopia (blue-blind)
#992244
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f236b;
/* rgb */ color: rgb(143, 35, 107);
/* oklch */ color: oklch(45.4% 0.161 344.6);
Tailwind
colors: {
  custom: {
    50: '#b46995',
    500: '#8f236b',
    950: '#000000',
  },
}
SCSS
$custom: #8f236b;
$custom-light: #b46995;
$custom-dark: #000000;
JSON
{
  "hex": "#8f236b",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 320,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45408,
    "c": 0.16092,
    "h": 344.6
  },
  "luminance": 0.08103
}

Semantic roles & 50–950 ramp

primary
#8F236B
secondary
#54BA76
accent
#E47944
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #8F236B

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

Preview Lab → · Contrast checker → · Palette generator →

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