#8F236A#8F236A

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

Color values

HEX#8F236A
RGBrgb(143, 35, 106)
HSLhsl(321, 61%, 35%)
HSVhsv(321, 76%, 56%)
CMYKcmyk(0%, 75.5%, 25.9%, 43.9%)
CIE-LABlab(34.16, 51.16, -15.49)
CIE-LCHlch(34.16, 53.45, 343.16°)
OKLaboklab(45.36% 0.1549 -0.0412)
OKLCHoklch(45.36% 0.16 345.1)
XYZxyz(14.5309, 8.0839, 14.4280)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F236A #238F48
analogous
#7E238F #8F236A #8F2334
triadic
#8F236A #6A8F23 #236A8F
tetradic
#8F236A #8F7E23 #238F48 #23348F
square
#8F236A #8F7E23 #238F48 #23348F
split-complementary
#8F236A #348F23 #238F7E
monochromatic
#2D0B21 #5E1746 #8F236A #C02F8E #D657AA

Accessibility & contrast

On white

8.03
#8F236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F236A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F236A#FFFFFF#000000##FFFFFF
##8F236A1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456C
Deuteranopia (green-blind)
#515768
Tritanopia (blue-blind)
#992143
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f236a;
/* rgb */ color: rgb(143, 35, 106);
/* oklch */ color: oklch(45.4% 0.160 345.1);
Tailwind
colors: {
  custom: {
    50: '#b46994',
    500: '#8f236a',
    950: '#000000',
  },
}
SCSS
$custom: #8f236a;
$custom-light: #b46994;
$custom-dark: #000000;
JSON
{
  "hex": "#8f236a",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 320.556,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45362,
    "c": 0.1603,
    "h": 345.1
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#8F236A
secondary
#54BA77
accent
#E47B44
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #8F236A

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

Preview Lab → · Contrast checker → · Palette generator →

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