#8F236E#8F236E

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

Color values

HEX#8F236E
RGBrgb(143, 35, 110)
HSLhsl(318, 61%, 35%)
HSVhsv(318, 76%, 56%)
CMYKcmyk(0%, 75.5%, 23.1%, 43.9%)
CIE-LABlab(34.33, 51.70, -17.76)
CIE-LCHlch(34.33, 54.67, 341.04°)
OKLaboklab(45.55% 0.1557 -0.0475)
OKLCHoklch(45.55% 0.163 343)
XYZxyz(14.7437, 8.1690, 15.5491)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F236E #238F44
analogous
#7A238F #8F236E #8F2338
triadic
#8F236E #6E8F23 #236E8F
tetradic
#8F236E #8F7A23 #238F44 #23388F
square
#8F236E #8F7A23 #238F44 #23388F
split-complementary
#8F236E #388F23 #238F7A
monochromatic
#2D0B22 #5E1748 #8F236E #C02F94 #D657AF

Accessibility & contrast

On white

7.97
#8F236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F236E
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F236E#FFFFFF#000000##FFFFFF
##8F236E1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f236e;
/* rgb */ color: rgb(143, 35, 110);
/* oklch */ color: oklch(45.5% 0.163 343.0);
Tailwind
colors: {
  custom: {
    50: '#b36997',
    500: '#8f236e',
    950: '#000000',
  },
}
SCSS
$custom: #8f236e;
$custom-light: #b36997;
$custom-dark: #000000;
JSON
{
  "hex": "#8f236e",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 318.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45547,
    "c": 0.16281,
    "h": 343
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#8F236E
secondary
#54BA73
accent
#E47544
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F236E

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

Preview Lab → · Contrast checker → · Palette generator →

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