#8F237C#8F237C

#8F237C is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.172 H 336.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8F237C
RGBrgb(143, 35, 124)
HSLhsl(311, 61%, 35%)
HSVhsv(311, 76%, 56%)
CMYKcmyk(0%, 75.5%, 13.3%, 43.9%)
CIE-LABlab(35.00, 53.74, -25.54)
CIE-LCHlch(35.00, 59.50, 334.58°)
OKLaboklab(46.25% 0.1577 -0.0696)
OKLCHoklch(46.25% 0.172 336.2)
XYZxyz(15.5671, 8.4984, 19.8854)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F237C #238F36
analogous
#6C238F #8F237C #8F2346
triadic
#8F237C #7C8F23 #237C8F
tetradic
#8F237C #8F6C23 #238F36 #23468F
square
#8F237C #8F6C23 #238F36 #23468F
split-complementary
#8F237C #468F23 #238F6C
monochromatic
#2D0B27 #5E1751 #8F237C #C02FA7 #D657BF

Accessibility & contrast

On white

7.78
#8F237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8F237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F237C
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F237C#FFFFFF#000000##FFFFFF
##8F237C1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#4A5879
Tritanopia (blue-blind)
#972B4D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f237c;
/* rgb */ color: rgb(143, 35, 124);
/* oklch */ color: oklch(46.2% 0.172 336.2);
Tailwind
colors: {
  custom: {
    50: '#b36aa2',
    500: '#8f237c',
    950: '#000000',
  },
}
SCSS
$custom: #8f237c;
$custom-light: #b36aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f237c",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 310.556,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46248,
    "c": 0.17237,
    "h": 336.2
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

primary
#8F237C
secondary
#54BA66
accent
#E46044
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F237C

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

Preview Lab → · Contrast checker → · Palette generator →

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